[Intel-wired-lan] [PATCH S27 14/15] ice: small efficiency fixes

Bowers, AndrewX andrewx.bowers at intel.com
Tue Aug 13 17:26:19 UTC 2019


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Tony Nguyen
> Sent: Thursday, August 8, 2019 7:40 AM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH S27 14/15] ice: small efficiency fixes
> 
> From: Jesse Brandeburg <jesse.brandeburg at intel.com>
> 
> Add a small bit of efficiency to the code by adding a prefetch of the port_info
> structure in order to help avoid a cache miss a little later on in execution.
> 
> Also add an unlikely statement to a branch which generally will never happen
> in normal operation.
> 
> Signed-off-by: Jesse Brandeburg <jesse.brandeburg at intel.com>
> ---
>  drivers/net/ethernet/intel/ice/ice_txrx.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)

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




More information about the Intel-wired-lan mailing list