summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_lib.c
diff options
context:
space:
mode:
authorJesse Brandeburg <jesse.brandeburg@intel.com>2019-08-08 07:39:37 -0700
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2019-09-05 08:13:40 -0700
commitd27525ec1fdd01740edb7d4f3dc801256d543393 (patch)
tree1f8b617df7d9f6c32a1fd3a3de3c1bf8269b373e /drivers/net/ethernet/intel/ice/ice_lib.c
parent6503b659302893af700d9e9b82d3210d09a3aefb (diff)
downloadlinux-d27525ec1fdd01740edb7d4f3dc801256d543393.tar.bz2
ice: small efficiency fixes
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@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_lib.c')
0 files changed, 0 insertions, 0 deletions