[Intel-wired-lan] [PATCH net] i40e: Fix display statistics for veb_tc

Switzer, David david.switzer at intel.com
Sat Mar 27 01:53:00 UTC 2021


>-----Original Message-----
>From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
>Rybak, Eryk Roch
>Sent: Monday, March 1, 2021 11:46 PM
>To: intel-wired-lan at lists.osuosl.org
>Cc: Rybak, Eryk Roch <eryk.roch.rybak at intel.com>; Loktionov, Aleksandr
><aleksandr.loktionov at intel.com>
>Subject: [Intel-wired-lan] [PATCH net] i40e: Fix display statistics for veb_tc
>
>If veb-stats was enabled, the ethtool stats triggered a warning due to invalid
>size: 'unexpected stat size for veb.tc_%u_tx_packets'.
>This was due to an incorrect structure definition for the statistics.
>Structures and functions have been improved in line with requirements for
>the presentation of statistics, in particular for the functions:
>'i40e_add_ethtool_stats' and 'i40e_add_stat_strings'.
>
>Fixes: 1510ae0be2a4 ("i40e: convert VEB TC stats to use an i40e_stats array")
>Signed-off-by: Eryk Rybak <eryk.roch.rybak at intel.com>
>Signed-off-by: Grzegorz Szczurek <grzegorzx.szczurek at intel.com>
>Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov at intel.com>
>---
> .../net/ethernet/intel/i40e/i40e_ethtool.c    | 52 ++++++++++++++++---
> 1 file changed, 46 insertions(+), 6 deletions(-)
>
Tested-by: Dave Switzer <david.switzer at intel.com>


More information about the Intel-wired-lan mailing list