[Intel-wired-lan] [next PATCH S84-V2 04/13] i40e/i40evf: Use ring pointers to clean up _set_itr_per_queue

Bowers, AndrewX andrewx.bowers at intel.com
Thu Jan 4 22:02:16 UTC 2018


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Alice Michael
> Sent: Wednesday, December 27, 2017 4:33 AM
> To: Michael, Alice <alice.michael at intel.com>; intel-wired-
> lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [next PATCH S84-V2 04/13] i40e/i40evf: Use ring
> pointers to clean up _set_itr_per_queue
> 
> From: Alexander Duyck <alexander.h.duyck at intel.com>
> 
> This change cleans up the i40e/i40evf_set_itr_per_queue function by
> dropping all the unneeded pointer chases. Instead we can just pull out the
> pointers for the Tx and Rx rings and use them throughout the function.
> 
> Signed-off-by: Alexander Duyck <alexander.h.duyck at intel.com>
> ---
>  drivers/net/ethernet/intel/i40e/i40e_ethtool.c     | 22 +++++++++--------
>  drivers/net/ethernet/intel/i40evf/i40evf_ethtool.c | 28 +++++++++++-------
> ----
>  2 files changed, 26 insertions(+), 24 deletions(-)

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




More information about the Intel-wired-lan mailing list