[Intel-wired-lan] [PATCH 2/2] ixgbe: use compiler constants in Rx path

Bowers, AndrewX andrewx.bowers at intel.com
Wed Jan 17 20:03:11 UTC 2018


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Shannon Nelson
> Sent: Friday, January 12, 2018 5:10 PM
> To: intel-wired-lan at lists.osuosl.org; Kirsher, Jeffrey T
> <jeffrey.t.kirsher at intel.com>
> Cc: steffen.klassert at secunet.com; sowmini.varadhan at oracle.com;
> netdev at vger.kernel.org
> Subject: [Intel-wired-lan] [PATCH 2/2] ixgbe: use compiler constants in Rx
> path
> 
> Rather than swapping runtime bytes to compare to constants, let the
> compiler swap the constants and save a couple of runtuime cycles.
> 
> Signed-off-by: Shannon Nelson <shannon.nelson at oracle.com>
> ---
>  drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)

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




More information about the Intel-wired-lan mailing list