Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4557536rdb; Tue, 12 Dec 2023 03:06:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IFi/Qwo2+pYe18TYF+nHSF6mCh4xABYrgelqLfkEmDrZWEwF0V0jmapsdvWu05YfOr+88U9 X-Received: by 2002:a05:6a21:a589:b0:18f:d827:bcf9 with SMTP id gd9-20020a056a21a58900b0018fd827bcf9mr8792381pzc.80.1702379166609; Tue, 12 Dec 2023 03:06:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702379166; cv=none; d=google.com; s=arc-20160816; b=BVwPh+52BcLdO0vITbGhD07tKa9x8sf4t57L9N6ORAg2bIL+jzu2P6bJwqr/ISdjhj SP1Wp+IOmJlRRy5XvOcQ8AYsAas5GtMoPsTPn17dswqg2hjjAEMhuBko5eq3ZzpYsz+5 EMLfMZIY/tAig5auaZq01sfHei0fDBafkHm7FgQKGeVfu/tcsD3Ucd5Hk/7JbPtqw7lW lX+8bYTELVvUisp2h7YQOGYtjV/i5y0zJBUe/pDWF2NINnTPOE9+IyvUmRjpMZ36hdVY jzMW9D8y0LyhL9eWHVaCJH/UxLOzI9w7bpk1+ZnkzpTofn9cb5iRGl+JIXgMdKtKoHFv b5eQ== 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:to:subject:cc:user-agent:mime-version:date:message-id; bh=mypmvdZb05RHMW3/0vA7teyiGhkj5dRbK/RMXdnj52U=; fh=zYLMa9WgLOPQbwdxViRiVTsXtqbRAhrMqgiG82nBmTE=; b=ckTn5lEd1dBLoClpTXYsoVlsQ7pK2CjNCtZSegS/V+d5g1u4IqPByi0Mw0QLW70dKG dMTC9qbJ/uRTS8cWTBjiM7aQMn4bYtsMfTz6CJMf7T4/jScHWEspNYRAIdVCoHpON27f eV57wMk4i0+cVJli/uqBE5hVKzw9Re+mepA6NsMnEVQ2ORl0IXKqD1k45ON1B7XwQ5Eg mDcaRJ0q4/eGmRXXac7lWX/PyscKGQWKHYqVBCFdmkhRlCTiJD+GBfi9drVHDiZX8+iz 0JUF6Mb806An9ciUaXNRuoGsn62bd9uh2mbcdUWJ3bgZSAzz88RanUXDKxlxQ5nYXQLz KI3A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id c6-20020a631c46000000b005b99ea783aasi7442996pgm.755.2023.12.12.03.06.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 03:06:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 401D180BD4C3; Tue, 12 Dec 2023 03:06:04 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231732AbjLLLFm (ORCPT + 99 others); Tue, 12 Dec 2023 06:05:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55742 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230497AbjLLLFk (ORCPT ); Tue, 12 Dec 2023 06:05:40 -0500 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 988F6AB; Tue, 12 Dec 2023 03:05:45 -0800 (PST) Received: from mail.maildlp.com (unknown [172.19.163.48]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4SqG4J43J8zsSFp; Tue, 12 Dec 2023 19:05:36 +0800 (CST) Received: from kwepemm000007.china.huawei.com (unknown [7.193.23.189]) by mail.maildlp.com (Postfix) with ESMTPS id 24A7B180032; Tue, 12 Dec 2023 19:05:43 +0800 (CST) Received: from [10.67.120.192] (10.67.120.192) by kwepemm000007.china.huawei.com (7.193.23.189) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Tue, 12 Dec 2023 19:05:42 +0800 Message-ID: Date: Tue, 12 Dec 2023 19:05:41 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird CC: , , , , , , , , , , Subject: Re: [PATCH net-next 1/6] net: hns3: add support for page_pool_get_stats To: Jakub Kicinski References: <20231211020816.69434-1-shaojijie@huawei.com> <20231211020816.69434-2-shaojijie@huawei.com> <20231211191759.61764363@kernel.org> From: Jijie Shao In-Reply-To: <20231211191759.61764363@kernel.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.67.120.192] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To kwepemm000007.china.huawei.com (7.193.23.189) X-Spam-Status: No, score=-0.8 required=5.0 tests=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 howler.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 (howler.vger.email [0.0.0.0]); Tue, 12 Dec 2023 03:06:04 -0800 (PST) on 2023/12/12 11:17, Jakub Kicinski wrote: > On Mon, 11 Dec 2023 10:08:11 +0800 Jijie Shao wrote: >> Add support for page_pool_get_stats, then the hns3 driver >> can get page pool statistics by ethtool. > Sorry, you're late to the party :( We have now added the ability to > read page pool stats via netlink. The support was merged as > a379972973a80924b1d03443e20f113ff76a94c7. > > If you use the page pools in your driver in a normal way (each page > pool only used by one NAPI instance and one netdev) you should use > that instead of dumping the stats into ethtool -S. Okay, we'll try to use netlink instead of ethtool. And this patch will be dropped in v2 patch set. Jijie