Received: by 2002:ab2:2997:0:b0:1ec:cbc4:63fb with SMTP id n23csp410864lqb; Thu, 29 Feb 2024 05:01:19 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXeSuQpUklZOukai/2sBfvyT3OEVJt81FGB5pd5T3TVoJy/NptnI87iOGOx4bmpz9JGFvRO8w3V7rXUEd/yHY1Z3U7QyxGIqOpjyhsF/A== X-Google-Smtp-Source: AGHT+IEvUzQyElXPf8OrZV+h6ph7Gndz5GJZIkkiujt4aITqhow0NxeoBALyoWWsr6IZge8ac/5X X-Received: by 2002:a05:6602:2746:b0:7c7:5ebf:d021 with SMTP id b6-20020a056602274600b007c75ebfd021mr2202748ioe.8.1709211679421; Thu, 29 Feb 2024 05:01:19 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709211679; cv=pass; d=google.com; s=arc-20160816; b=pcydiZszwiI0Xt64moq05B8iv9YvFMFj0plKbLWxicr5SZJN2XSt8c/AYZlIURnuKw Nj72WAa+r6x44gXVc+AaD4T8o+7FijyHU+pqbB9WIrWpYxs1T3fL5pjzGrZeoxzVgSaa yPGTHbOax2/adfNEw0ZVlqh8BduhQrNhRIcgWTNJEUCSueJncbUhiA+Va9tWKfgXmjZ6 NLkDjAHtgQ6Z7Zg0liY7hCfknGXz56FVBwNN/qh3Js7yk6CIgcFNy2Hucs+9bCPhYYW1 csA94+dvpLkHR5zmcWqABzuCab3LGHO/506HU3EjAdcmcFn76nieF/LMZhuwQABlZ/Fh 0pbA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :content-transfer-encoding:content-language:accept-language :in-reply-to:references:message-id:date:thread-index:thread-topic :subject:cc:to:from; bh=kb07Bofn5YvOT4z4iZNaMpVFkUQyAqY/FdzZob/hJ6s=; fh=VfZop8dl9OZhU9U4gyTpqvpMjVXj80kdyAdp0js6K7c=; b=c2C8Z8hS22a8msLu/XdtFwIK5hPxLjc8R64bOORJz16yOwY0+yZjikHj8Twr5Xc8SX x+4PWKvoBwYRPyGaHmmcFb9CD3k0KYLVXoGjr5JbLeu1JUc7kQ74Y8Fw9sc7L8PCG/G2 LmcYedGNKtJbkH6vz/6N1W6XjAhs9DhVB3plPy22xGCtYjth2uQSMyNbqvQks+BA5DP5 1Qdjn553LTRI+vnlFfRfO+PlehdItBacW8r0vcb9DpaYJYVjUw9GA3gm6OY8H66edRnu XEk4UpIHXSj/O+HqPhtZcoHWtYYXZ3hi12zfheeOVIcaAuB2hvu826EVdEPedS07Oyv2 +40w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-86715-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86715-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=QUARANTINE) header.from=huawei.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d59-20020a0285c1000000b00474725f7e1asi464114jai.7.2024.02.29.05.01.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 05:01:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-86715-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-86715-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86715-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=QUARANTINE) header.from=huawei.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id B49012889BD for ; Thu, 29 Feb 2024 12:52:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BD5EF7E104; Thu, 29 Feb 2024 12:52:15 +0000 (UTC) Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E83A07D3EB; Thu, 29 Feb 2024 12:52:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.187 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709211135; cv=none; b=ERBmj5iDJjF8BiE/XPB70+g8kBVHHFbSXgbV6iu8xgpdn3BcahnFFQ2h7tx43RrxP2S+6umPgc5uj8NKfEc21jvFoLQootToM7KtTXlfXQ2ZCIzmGrk1GGHI6HTfWXMbbcCndi4kq05sv0kaGOy9ID7/BNj4EdWydhRuAUZQ3AM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709211135; c=relaxed/simple; bh=kb07Bofn5YvOT4z4iZNaMpVFkUQyAqY/FdzZob/hJ6s=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=JFXUsgwPDP+bo0E205GBmp4OlSPCAmhpVjQ4R4uWekSLba4JMt/qieVArjbJfu9bSBjX15Vun1GAprFOKF++/Dw6Wp4YJzVacTyW3oiEeDPZIIJvqR4zHdy+ry//pPYZ4nqL2y7iFAlLDQEnBRTiYqRHrm9Ua0iwtG7RfvIgle8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=45.249.212.187 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.19.163.174]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4Tlrff5y2FzpVXm; Thu, 29 Feb 2024 20:50:18 +0800 (CST) Received: from kwepemm600003.china.huawei.com (unknown [7.193.23.202]) by mail.maildlp.com (Postfix) with ESMTPS id EEBBB1404DB; Thu, 29 Feb 2024 20:52:08 +0800 (CST) Received: from dggpemm500008.china.huawei.com (7.185.36.136) by kwepemm600003.china.huawei.com (7.193.23.202) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Thu, 29 Feb 2024 20:52:08 +0800 Received: from dggpemm500008.china.huawei.com ([7.185.36.136]) by dggpemm500008.china.huawei.com ([7.185.36.136]) with mapi id 15.01.2507.035; Thu, 29 Feb 2024 20:52:08 +0800 From: wangyunjian To: Paolo Abeni , "mst@redhat.com" , "willemdebruijn.kernel@gmail.com" , "jasowang@redhat.com" , "kuba@kernel.org" , "bjorn@kernel.org" , "magnus.karlsson@intel.com" , "maciej.fijalkowski@intel.com" , "jonathan.lemon@gmail.com" , "davem@davemloft.net" CC: "bpf@vger.kernel.org" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "kvm@vger.kernel.org" , "virtualization@lists.linux.dev" , xudingke , "liwei (DT)" Subject: RE: [PATCH net-next v2 1/3] xsk: Remove non-zero 'dma_page' check in xp_assign_dev Thread-Topic: [PATCH net-next v2 1/3] xsk: Remove non-zero 'dma_page' check in xp_assign_dev Thread-Index: AQHaajYJnbtzT7JgCU+QOT7x4zY88rEgnaQAgACpFNA= Date: Thu, 29 Feb 2024 12:52:08 +0000 Message-ID: <55ef319de7084614b1883018f69de1eb@huawei.com> References: <1709118325-120336-1-git-send-email-wangyunjian@huawei.com> <75b6f7686c03519a1aaeb461618070747890143b.camel@redhat.com> In-Reply-To: <75b6f7686c03519a1aaeb461618070747890143b.camel@redhat.com> Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBQYW9sbyBBYmVuaSBbbWFpbHRv OnBhYmVuaUByZWRoYXQuY29tXQ0KPiBTZW50OiBUaHVyc2RheSwgRmVicnVhcnkgMjksIDIwMjQg Njo0MyBQTQ0KPiBUbzogd2FuZ3l1bmppYW4gPHdhbmd5dW5qaWFuQGh1YXdlaS5jb20+OyBtc3RA cmVkaGF0LmNvbTsNCj4gd2lsbGVtZGVicnVpam4ua2VybmVsQGdtYWlsLmNvbTsgamFzb3dhbmdA cmVkaGF0LmNvbTsga3ViYUBrZXJuZWwub3JnOw0KPiBiam9ybkBrZXJuZWwub3JnOyBtYWdudXMu a2FybHNzb25AaW50ZWwuY29tOyBtYWNpZWouZmlqYWxrb3dza2lAaW50ZWwuY29tOw0KPiBqb25h dGhhbi5sZW1vbkBnbWFpbC5jb207IGRhdmVtQGRhdmVtbG9mdC5uZXQNCj4gQ2M6IGJwZkB2Z2Vy Lmtlcm5lbC5vcmc7IG5ldGRldkB2Z2VyLmtlcm5lbC5vcmc7DQo+IGxpbnV4LWtlcm5lbEB2Z2Vy Lmtlcm5lbC5vcmc7IGt2bUB2Z2VyLmtlcm5lbC5vcmc7DQo+IHZpcnR1YWxpemF0aW9uQGxpc3Rz LmxpbnV4LmRldjsge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