All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jakub Kicinski <kuba@kernel.org>
To: Jijie Shao <shaojijie@huawei.com>
Cc: <yisen.zhuang@huawei.com>, <salil.mehta@huawei.com>,
	<davem@davemloft.net>, <edumazet@google.com>, <pabeni@redhat.com>,
	<shenjian15@huawei.com>, <wangjie125@huawei.com>,
	<liuyonglong@huawei.com>, <netdev@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH net-next 1/6] net: hns3: add support for page_pool_get_stats
Date: Mon, 11 Dec 2023 19:17:59 -0800	[thread overview]
Message-ID: <20231211191759.61764363@kernel.org> (raw)
In-Reply-To: <20231211020816.69434-2-shaojijie@huawei.com>

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.
-- 
pw-bot: cr

  reply	other threads:[~2023-12-12  3:18 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-11  2:08 [PATCH net-next 0/6] There are some features for the HNS3 ethernet driver Jijie Shao
2023-12-11  2:08 ` [PATCH net-next 1/6] net: hns3: add support for page_pool_get_stats Jijie Shao
2023-12-12  3:17   ` Jakub Kicinski [this message]
2023-12-12 11:05     ` Jijie Shao
2023-12-11  2:08 ` [PATCH net-next 2/6] net: hns3: add command queue trace for hns3 Jijie Shao
2023-12-11  2:08 ` [PATCH net-next 3/6] net: hns3: dump more reg info based on ras mod Jijie Shao
2023-12-11  2:08 ` [PATCH net-next 4/6] net: hns3: support dump pfc frame statistics in tx timeout log Jijie Shao
2023-12-11  2:08 ` [PATCH net-next 5/6] net: hns3: Add support for some CMIS transceiver modules Jijie Shao
2023-12-12  3:21   ` Jakub Kicinski
2023-12-12 11:09     ` Jijie Shao
2023-12-13 11:02     ` Ido Schimmel
2023-12-11  2:08 ` [PATCH net-next 6/6] net: sfp: Synchronize some CMIS transceiver modules from ethtool Jijie Shao

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231211191759.61764363@kernel.org \
    --to=kuba@kernel.org \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=liuyonglong@huawei.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=salil.mehta@huawei.com \
    --cc=shaojijie@huawei.com \
    --cc=shenjian15@huawei.com \
    --cc=wangjie125@huawei.com \
    --cc=yisen.zhuang@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.