From: Simon Horman <horms@kernel.org>
To: Jakub Kicinski <kuba@kernel.org>
Cc: Dennis Chen <dchen27@ncsu.edu>, Dennis Chen <dechen@redhat.com>,
netdev@vger.kernel.org, davem@davemloft.net, edumazet@google.com,
pabeni@redhat.com, andrew+netdev@lunn.ch, petrm@nvidia.com
Subject: Re: [PATCH net-next 0/3] netdevsim: Add support for ethtool stats and add
Date: Thu, 7 Aug 2025 10:48:08 +0100 [thread overview]
Message-ID: <20250807094808.GA82267@horms.kernel.org> (raw)
In-Reply-To: <20250806074800.65fa46bc@kernel.org>
On Wed, Aug 06, 2025 at 07:48:00AM -0700, Jakub Kicinski wrote:
> On Wed, 6 Aug 2025 10:05:27 -0400 Dennis Chen wrote:
> > > The tests for netdevsim must test something meaningful in the kernel.
> > > This submission really looks like you need it to test some user space
> > > code.
> >
> > This test would help verify that ethtool_ops correctly propagates stats to
> > userspace, would that not be significant enough for a test?
> >
> > My thought was that it would be similar to the patches for ethtool
> > --show-phys here:
> > https://lore.kernel.org/netdev/20250710062248.378459-1-maxime.chevallier@bootlin.com/
>
> What are you trying to test. Like, what _actually_ made you and Kamal
> write these patches? I can't think of many bugs in the area. And you
> clearly have zero familiarity with our recommendation of what stats
> to report and how :/ so if anything your code is hurting more than
> helping.
Thanks Jakub,
I'll work with the team to find a better approach.
prev parent reply other threads:[~2025-08-07 9:48 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-05 21:33 [PATCH net-next 0/3] netdevsim: Add support for ethtool stats and add Dennis Chen
2025-08-05 21:33 ` [PATCH net-next 1/3] netdevsim: Support ethtool stats Dennis Chen
2025-08-05 21:33 ` [PATCH net-next 2/3] netdevsim: Add mock stats for ethtool Dennis Chen
2025-08-05 21:33 ` [PATCH net-next 3/3] selftests: netdevsim: Add test for ethtool stats Dennis Chen
2025-08-05 22:55 ` [PATCH net-next 0/3] netdevsim: Add support for ethtool stats and add Jakub Kicinski
2025-08-06 14:05 ` Dennis Chen
2025-08-06 14:48 ` Jakub Kicinski
2025-08-07 9:48 ` Simon Horman [this message]
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=20250807094808.GA82267@horms.kernel.org \
--to=horms@kernel.org \
--cc=andrew+netdev@lunn.ch \
--cc=davem@davemloft.net \
--cc=dchen27@ncsu.edu \
--cc=dechen@redhat.com \
--cc=edumazet@google.com \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=petrm@nvidia.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.