[Intel-wired-lan] [next PATCH S93 02/11] i40e: add helper to copy statistic values into ethtool buffer

Bowers, AndrewX andrewx.bowers at intel.com
Thu Aug 2 18:29:38 UTC 2018


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Alice Michael
> Sent: Tuesday, July 31, 2018 3:42 AM
> To: Michael, Alice <alice.michael at intel.com>; intel-wired-
> lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [next PATCH S93 02/11] i40e: add helper to copy
> statistic values into ethtool buffer
> 
> From: Jacob Keller <jacob.e.keller at intel.com>
> 
> Similar to the helper function to copy the ethtool stats strings, add and use a
> helper function for copying the ethtool stats into the supplied buffer.
> 
> Just like before, we use a macro to avoid having to pass ARRAY_SIZE
> manually, so as to reduce chance of bugs.
> 
> Some of the stats, especially queue stats, are a bit trickier, and will be
> handled in future patches.
> 
> Signed-off-by: Jacob Keller <jacob.e.keller at intel.com>
> ---
>  drivers/net/ethernet/intel/i40e/i40e_ethtool.c | 116
> ++++++++++++++++++++-----
>  1 file changed, 93 insertions(+), 23 deletions(-)

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




More information about the Intel-wired-lan mailing list