From: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
To: Jakub Kicinski <kuba@kernel.org>
Cc: Jakub Kicinski <kuba@kernel.org>,
lorenzo@kernel.org, andrew+netdev@lunn.ch, hkallweit1@gmail.com,
dust.li@linux.alibaba.com, edumazet@google.com,
davem@davemloft.net, pabeni@redhat.com, lulie@linux.alibaba.com,
andrew@lunn.ch, netdev@vger.kernel.org, guwen@linux.alibaba.com,
dong100@mucse.com, lukas.bulwahn@redhat.com,
vadim.fedorenko@linux.dev, enelsonmoore@gmail.com
Subject: Re: [net-next,v24,6/6] eea: introduce callback for ndo_get_stats64
Date: Mon, 2 Feb 2026 10:09:44 +0800 [thread overview]
Message-ID: <1769998184.776148-1-xuanzhuo@linux.alibaba.com> (raw)
In-Reply-To: <20260130233245.923444-1-kuba@kernel.org>
On Fri, 30 Jan 2026 15:32:45 -0800, Jakub Kicinski <kuba@kernel.org> wrote:
> This is an AI-generated review of your patch. The human sending this
> email has considered the AI review valid, or at least plausible.
>
> For local reproduction steps see https://netdev-ai.bots.linux.dev/ai-local.html
> ---
> eea: introduce callback for ndo_get_stats64
>
> This commit adds ndo_get_stats64 support to the Alibaba Elastic Ethernet
> Adapter driver and introduces a spinlock to protect concurrent access to
> rx and tx pointers when gathering statistics.
>
> The commit message says "Add basic driver framework for the Alibaba
> Elastic Ethernet Adapter(EEA)." But shouldn't this say it's adding stats
> support to an existing framework rather than adding the basic framework
> itself? The other commits in the series appear to have already introduced
> the framework.
Will update the commit log.
>
> This commit introduces a spinlock to protect against races between
> eea_stats() and the queue setup/teardown functions. The race being fixed
> was introduced in commit cf49df362e30 ("eea: create/destroy rx,tx queues
> for netdevice open and stop"). Should this commit include a Fixes: tag?
Not fix, before this commit, there is no race problem.
There are protected by rtnl.
Thanks.
>
> Fixes: cf49df362e30 ("eea: create/destroy rx,tx queues for netdevice open and stop")
next prev parent reply other threads:[~2026-02-02 2:11 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-30 9:34 [PATCH net-next v24 0/6] eea: Add basic driver framework for Alibaba Elastic Ethernet Adaptor Xuan Zhuo
2026-01-30 9:34 ` [PATCH net-next v24 1/6] eea: introduce PCI framework Xuan Zhuo
2026-01-30 23:32 ` [net-next,v24,1/6] " Jakub Kicinski
2026-01-30 9:34 ` [PATCH net-next v24 2/6] eea: introduce ring and descriptor structures Xuan Zhuo
2026-01-30 23:32 ` [net-next,v24,2/6] " Jakub Kicinski
2026-01-30 9:34 ` [PATCH net-next v24 3/6] eea: probe the netdevice and create adminq Xuan Zhuo
2026-01-30 9:34 ` [PATCH net-next v24 4/6] eea: create/destroy rx,tx queues for netdevice open and stop Xuan Zhuo
2026-01-30 23:32 ` [net-next,v24,4/6] " Jakub Kicinski
2026-02-02 3:23 ` Xuan Zhuo
2026-01-30 9:34 ` [PATCH net-next v24 5/6] eea: introduce ethtool support Xuan Zhuo
2026-01-30 9:34 ` [PATCH net-next v24 6/6] eea: introduce callback for ndo_get_stats64 Xuan Zhuo
2026-01-30 23:32 ` [net-next,v24,6/6] " Jakub Kicinski
2026-02-02 2:09 ` Xuan Zhuo [this message]
2026-01-31 0:20 ` [PATCH net-next v24 0/6] eea: Add basic driver framework for Alibaba Elastic Ethernet Adaptor Ethan Nelson-Moore
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=1769998184.776148-1-xuanzhuo@linux.alibaba.com \
--to=xuanzhuo@linux.alibaba.com \
--cc=andrew+netdev@lunn.ch \
--cc=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=dong100@mucse.com \
--cc=dust.li@linux.alibaba.com \
--cc=edumazet@google.com \
--cc=enelsonmoore@gmail.com \
--cc=guwen@linux.alibaba.com \
--cc=hkallweit1@gmail.com \
--cc=kuba@kernel.org \
--cc=lorenzo@kernel.org \
--cc=lukas.bulwahn@redhat.com \
--cc=lulie@linux.alibaba.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=vadim.fedorenko@linux.dev \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox