[Intel-wired-lan] [PATCH] i40e: Make struct i40e_stats const

Bowers, AndrewX andrewx.bowers at intel.com
Wed Sep 28 18:42:13 UTC 2016


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On
> Behalf Of Joe Perches
> Sent: Monday, September 26, 2016 8:17 PM
> To: Kirsher, Jeffrey T <jeffrey.t.kirsher at intel.com>
> Cc: netdev at vger.kernel.org; intel-wired-lan at lists.osuosl.org; linux-
> kernel at vger.kernel.org
> Subject: [Intel-wired-lan] [PATCH] i40e: Make struct i40e_stats const
> 
> Move some data to text
> 
> $ size drivers/net/ethernet/intel/i40e/i40e_ethtool.o*
>    text	   data	    bss	    dec	    hex	filename
>   25012	      0	     32	  25044	   61d4
> 	drivers/net/ethernet/intel/i40e/i40e_ethtool.o.new
>   22868	   2120	     32	  25020	   61bc
> 	drivers/net/ethernet/intel/i40e/i40e_ethtool.o.old
> 
> Signed-off-by: Joe Perches <joe at perches.com>
> ---
>  drivers/net/ethernet/intel/i40e/i40e_ethtool.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
Ethtool stats work as expected



More information about the Intel-wired-lan mailing list