[Intel-wired-lan] [next PATCH S10 02/10] i40e: Add ability to display VF stats along with PF core stats

Bowers, AndrewX andrewx.bowers at intel.com
Mon Sep 23 18:10:00 UTC 2019


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Alice Michael
> Sent: Friday, September 20, 2019 2:17 AM
> To: Michael, Alice <alice.michael at intel.com>; intel-wired-
> lan at lists.osuosl.org
> Cc: Grubba, Arkadiusz <arkadiusz.grubba at intel.com>
> Subject: [Intel-wired-lan] [next PATCH S10 02/10] i40e: Add ability to display
> VF stats along with PF core stats
> 
> From: Arkadiusz Grubba <arkadiusz.grubba at intel.com>
> 
> This change introduces the ability to display extended (enhanced) statistics
> for PF interfaces (in accordance to the new build flags also introduced here).
> 
> The patch introduces new arrays and preprocessor symbols defined for
> these extra stats (in i40e_ethtool.c file) and enhances/extends ethtool ops
> functions intended for dealing with PF stats (i.e.: i40e_get_stats_count(),
> i40e_get_ethtool_stats(), i40e_get_stat_strings() ).
> 
> There have also been introduced the new build flag named
> "I40E_PF_EXTRA_STATS_OFF" to exclude from the driver code all code
> snippets associated with these extra stats.
> 
> Signed-off-by: Arkadiusz Grubba <arkadiusz.grubba at intel.com>
> ---
>  .../net/ethernet/intel/i40e/i40e_ethtool.c    | 149 ++++++++++++++++++
>  1 file changed, 149 insertions(+)

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




More information about the Intel-wired-lan mailing list