From: Nguyen, Anthony L <anthony.l.nguyen@intel.com>
To: intel-wired-lan@osuosl.org
Subject: [Intel-wired-lan] [PATCH net v3] iavf: Fix displaying queue statistics shown by ethtool
Date: Tue, 14 Sep 2021 23:52:35 +0000 [thread overview]
Message-ID: <b4e1e8002f22d8b8dd9437841274a7e2d3c9ee49.camel@intel.com> (raw)
In-Reply-To: <20210913073434.77748-1-jedrzej.jagielski@intel.com>
On Mon, 2021-09-13 at 07:34 +0000, Jedrzej Jagielski wrote:
> Driver provided too many lines as an output to ethtool -S command.
> Return actual length of string set of ethtool stats. Instead of
> predefined
> maximal value use the actual value on netdev, iterate over active
> queues.
> Without this patch, ethtool -S report would produce additional
> erroneous lines.
>
> Without this change in statistics after showing them by ethtool -S
> will be displayed queues that are not configured.
>
> Fixes: 6dba41cd02fc ("i40evf: update ethtool stats code and use
> helper functions")
> Signed-off-by: Witold Fijalkowski <witoldx.fijalkowski@intel.com>
> Signed-off-by: Przemyslaw Patynowski <
> przemyslawx.patynowski at intel.com>
> Signed-off-by: Mateusz Palczewski <mateusz.palczewski@intel.com>
> Signed-off-by: Jedrzej Jagielski <jedrzej.jagielski@intel.com>
> ---
Please include a changelog
> .../net/ethernet/intel/iavf/iavf_ethtool.c | 31 ++++++++++++-----
> --
> 1 file changed, 20 insertions(+), 11 deletions(-)
next prev parent reply other threads:[~2021-09-14 23:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-13 7:34 [Intel-wired-lan] [PATCH net v3] iavf: Fix displaying queue statistics shown by ethtool Jedrzej Jagielski
2021-09-14 23:52 ` Nguyen, Anthony L [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-09-15 8:21 Jedrzej Jagielski
2021-09-16 22:27 ` Nguyen, Anthony L
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=b4e1e8002f22d8b8dd9437841274a7e2d3c9ee49.camel@intel.com \
--to=anthony.l.nguyen@intel.com \
--cc=intel-wired-lan@osuosl.org \
/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