From: Breno Leitao <leitao@debian.org>
To: Mengyuan Lou <mengyuanlou@net-swift.com>
Cc: netdev@vger.kernel.org, jiawenwu@trustnetic.com,
duanqiangwen@net-swift.com, linglingzhang@net-swift.com,
andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@google.com,
kuba@kernel.org, pabeni@redhat.com
Subject: Re: [PATCH net-next 5/5] net: wangxun: add ndo_get_stats64 support
Date: Fri, 31 Jul 2026 01:52:45 -0700 [thread overview]
Message-ID: <amxh3Ef6FnHNnZQ5@gmail.com> (raw)
In-Reply-To: <20260731074958.19333-6-mengyuanlou@net-swift.com>
On Fri, Jul 31, 2026 at 03:49:58PM +0800, Mengyuan Lou wrote:
> Expose network statistics for Wangxun VF drivers by registering the
> ndo_get_stats64 callback.
>
> Signed-off-by: Mengyuan Lou <mengyuanlou@net-swift.com>
> ---
> drivers/net/ethernet/wangxun/libwx/wx_lib.c | 2 ++
> drivers/net/ethernet/wangxun/ngbevf/ngbevf_main.c | 1 +
> drivers/net/ethernet/wangxun/txgbevf/txgbevf_main.c | 1 +
> 3 files changed, 4 insertions(+)
>
> diff --git a/drivers/net/ethernet/wangxun/libwx/wx_lib.c b/drivers/net/ethernet/wangxun/libwx/wx_lib.c
> index ae20733c703d..a4ca01c18c6a 100644
> --- a/drivers/net/ethernet/wangxun/libwx/wx_lib.c
> +++ b/drivers/net/ethernet/wangxun/libwx/wx_lib.c
> @@ -3092,6 +3092,8 @@ void wx_get_stats64(struct net_device *netdev,
> }
>
> rcu_read_unlock();
> + if (wx->pdev->is_virtfn)
> + return;
Why you don't want to populate the other entries?
next prev parent reply other threads:[~2026-07-31 8:52 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-31 7:49 [PATCH net-next 0/5] net: wangxun: improve statistics support Mengyuan Lou
2026-07-31 7:49 ` [PATCH net-next 1/5] net: libwx: fix suspend/resume for wxvf Mengyuan Lou
2026-07-31 8:54 ` Breno Leitao
2026-07-31 7:49 ` [PATCH net-next 2/5] net: libwx: enable wx_update_stats for VF drivers Mengyuan Lou
2026-07-31 7:49 ` [PATCH net-next 3/5] net: libwx: Add per queue netdev-genl stats apis Mengyuan Lou
2026-07-31 7:49 ` [PATCH net-next 4/5] net: Wangxun: add support for basic qstats Mengyuan Lou
2026-07-31 7:49 ` [PATCH net-next 5/5] net: wangxun: add ndo_get_stats64 support Mengyuan Lou
2026-07-31 8:52 ` Breno Leitao [this message]
2026-07-31 9:41 ` mengyuanlou
2026-07-31 13:14 ` Breno Leitao
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=amxh3Ef6FnHNnZQ5@gmail.com \
--to=leitao@debian.org \
--cc=andrew+netdev@lunn.ch \
--cc=davem@davemloft.net \
--cc=duanqiangwen@net-swift.com \
--cc=edumazet@google.com \
--cc=jiawenwu@trustnetic.com \
--cc=kuba@kernel.org \
--cc=linglingzhang@net-swift.com \
--cc=mengyuanlou@net-swift.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.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.