Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4660554rdh; Wed, 29 Nov 2023 07:23:09 -0800 (PST) X-Google-Smtp-Source: AGHT+IGjzmcCf0Kjk2CdFdr96+knkfg2V4lTnB2sWs2Ydc2nLzCOXjBA/vW1NHacPgwAlC13+PF1 X-Received: by 2002:a17:902:d4c7:b0:1d0:1257:d35b with SMTP id o7-20020a170902d4c700b001d01257d35bmr3779117plg.67.1701271389469; Wed, 29 Nov 2023 07:23:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701271389; cv=none; d=google.com; s=arc-20160816; b=xVMGHm5TgQYh+XsP9/Q1Zm3qKwuDHI65aDrbYfJ8vFDJC7NsND3gmdFO8cNrlNU8v0 8yY91YWHI37V+jQ5/6w990z7ErvvZwvlxIC5/jc7C6UGMG//v9aNFcMUzMjzHggw8KZS kwig2JilLyDbIDu9raaypMheyxGCH9PMO+Of4snmTKtHkbTDD3ajSe3WCvPtNBpdx1Rn /xyv2LQ/YmlgFJhBjGTl6r8bNdapfhThGtjVi0xuR5v1fkz+wIV0m4qzMuMXklzcskXJ T0ibsXlg2bdKA4CRKuRSPCmufbsvkSh+82LXhmTsL8jjl4Aqe4pIRgmNiCl/kSRrtZnX SXxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:subject:mime-version:date:dkim-signature :message-id; bh=HQiZ+7wAuSeNjpj8apTyPg8hJlrrmCrTI0XRLYKF0N8=; fh=6mko7dxRRKEkYiDCMMKLcuF0reZLk9ONATUoO8FAbL8=; b=RPoHszugtVlfsW3qxey0z+Gk8dFTBwxw49GzUZ/2fYzFP2ANvizFBxae1nIPYQo+D+ 7LQz0uNhujSr1UsIVouZdchvzo8+9dO8mO1OuUU4vEKGiv6zxfilDBYek3pTw/HsKpQs xdJkcdRPnJYsxzlimSKBDTdk4u/frBQQKkTFApEqC1BVl4WeXTMOZo/j6+BWUB3bMCBa OC6h8XUE9C5UYCiJKuJxFzHh8WmSw8TswrQHxp2jNTJ3ppXuNnpHkCJfAgYwlr9R3MWo F4eq5g7Vva8NOs+ACClEIm8XO7tZHvU5+bHeirmKzUX9kPkAHuLRXa3unpEz+nygl9CI 7uQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=KVed2Zjg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id bc3-20020a170902930300b001cfc4194cb7si7905365plb.634.2023.11.29.07.23.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 07:23:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=KVed2Zjg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id CAADA8038B66; Wed, 29 Nov 2023 07:23:04 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234888AbjK2PWj (ORCPT + 99 others); Wed, 29 Nov 2023 10:22:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234830AbjK2PWd (ORCPT ); Wed, 29 Nov 2023 10:22:33 -0500 Received: from out-174.mta0.migadu.com (out-174.mta0.migadu.com [91.218.175.174]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1CDCBE for ; Wed, 29 Nov 2023 07:22:39 -0800 (PST) Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1701271358; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HQiZ+7wAuSeNjpj8apTyPg8hJlrrmCrTI0XRLYKF0N8=; b=KVed2Zjgv7XeII9r2X+MTlQ6MpHbUpzjRjxCRVryPjqS7WQgL/klPvl0DGCIJtn+2HJ9i0 zpbKIVf6tnVZwxthxtzt9g6JYlqiuCCWus9aNEciqYzPTrPZXLvo98bW6UJ4CPgjB7NzAd duAQwvGTlZusGXFH/EPUzS2lSrfQJfM= Date: Wed, 29 Nov 2023 23:22:30 +0800 MIME-Version: 1.0 Subject: Re: [PATCH net-next 2/5] virtio_net: Add page_pool support to improve performance To: "Michael S. Tsirkin" Cc: Liang Chen , jasowang@redhat.com, virtualization@lists.linux-foundation.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, xuanzhuo@linux.alibaba.com, kuba@kernel.org, edumazet@google.com, davem@davemloft.net, pabeni@redhat.com, alexander.duyck@gmail.com References: <20230526054621.18371-1-liangchen.linux@gmail.com> <20230526054621.18371-2-liangchen.linux@gmail.com> <20231129095825-mutt-send-email-mst@kernel.org> X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Zhu Yanjun In-Reply-To: <20231129095825-mutt-send-email-mst@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Wed, 29 Nov 2023 07:23:04 -0800 (PST) 在 2023/11/29 22:59, Michael S. Tsirkin 写道: > On Wed, Nov 29, 2023 at 10:50:57PM +0800, Zhu Yanjun wrote: >> 在 2023/5/26 13:46, Liang Chen 写道: > > what made you respond to a patch from May, now? I want to apply page_pool to our virtio_net. This virtio_net works on our device. I want to verify whether page_pool on virtio_net with our device can improve the performance or not. And I found that ethtool is wrong. I use virtio_net on our device. I found that page member variable in rq is not used in recv path. When virtio_net is modprobe, I checked page member variable in rq with kprobe or crash tool.  page member variable in rq is always NULL. But sg in recv path is used. So how to use page member variable in rq? If page member variable in rq is always NULL, can we remove it? BTW, I use ping and iperf tool to make tests with virtio_net. In the tests, page member variable in rq is always NULL. It is interesting. Zhu Yanjun >