From: Nguyen, Anthony L <anthony.l.nguyen@intel.com>
To: intel-wired-lan@osuosl.org
Subject: [Intel-wired-lan] [PATCH net v2] iavf: Fix refreshing iavf adapter stats on ethtool request
Date: Thu, 9 Sep 2021 20:44:11 +0000 [thread overview]
Message-ID: <dc541e9e41734773c8f79200e180c6dd99eeebc8.camel@intel.com> (raw)
In-Reply-To: <20210907125343.258489-1-jedrzej.jagielski@intel.com>
On Tue, 2021-09-07 at 12:53 +0000, Jedrzej Jagielski wrote:
> Currently iavf adapter statistics are refreshed only in a
> watchdog task, triggered approximately every two seconds,
> which causes some ethtool requests to return outdated values.
>
> Add explicit statistics refresh when requested by ethtool -S.
I responded to the v1 on accident, please see the comments on that one.
> Fixes: b476b0030e61 ("iavf: Move commands processing to the separate
> function")
> Signed-off-by: Jan Sokolowski <jan.sokolowski@intel.com>
> Signed-off-by: Jedrzej Jagielski <jedrzej.jagielski@intel.com>
> ---
As was mentioned by Paul on a previous patch, please include a
changelog.
> drivers/net/ethernet/intel/iavf/iavf.h | 2 ++
> drivers/net/ethernet/intel/iavf/iavf_ethtool.c | 3 +++
> drivers/net/ethernet/intel/iavf/iavf_main.c | 18
> ++++++++++++++++++
> 3 files changed, 23 insertions(+)
>
>
prev parent reply other threads:[~2021-09-09 20:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-07 12:53 [Intel-wired-lan] [PATCH net v2] iavf: Fix refreshing iavf adapter stats on ethtool request Jedrzej Jagielski
2021-09-09 20:44 ` Nguyen, Anthony L [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=dc541e9e41734773c8f79200e180c6dd99eeebc8.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