[Intel-wired-lan] [next PATCH S7 1/9] i40e: fix incorrect ethtool statistics veb and veb.tc_

Bowers, AndrewX andrewx.bowers at intel.com
Wed Jul 3 21:33:02 UTC 2019


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Alice Michael
> Sent: Tuesday, July 2, 2019 5:23 AM
> To: Michael, Alice <alice.michael at intel.com>; intel-wired-
> lan at lists.osuosl.org
> Cc: Golovanov, Dmitrii <dmitrii.golovanov at intel.com>
> Subject: [Intel-wired-lan] [next PATCH S7 1/9] i40e: fix incorrect ethtool
> statistics veb and veb.tc_
> 
> From: Dmitrii Golovanov <dmitrii.golovanov at intel.com>
> 
> This patch fixes missing call of i40e_update_veb_stats() in function
> i40e_get_ethtool_stats() to update stats data of VEB and VEB TC counters
> before they are written into ethtool buffer.
> Before the patch ethtool counters may fell behind interface counters.
> 
> Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov at intel.com>
> ---
>  drivers/net/ethernet/intel/i40e/i40e.h         | 1 +
>  drivers/net/ethernet/intel/i40e/i40e_ethtool.c | 8 +++++++-
>  drivers/net/ethernet/intel/i40e/i40e_main.c    | 2 +-
>  3 files changed, 9 insertions(+), 2 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list