ice: small efficiency fixes
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Thu, 8 Aug 2019 14:39:37 +0000 (07:39 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 5 Sep 2019 15:13:40 +0000 (08:13 -0700)
commitd27525ec1fdd01740edb7d4f3dc801256d543393
tree1f8b617df7d9f6c32a1fd3a3de3c1bf8269b373e
parent6503b659302893af700d9e9b82d3210d09a3aefb
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>
drivers/net/ethernet/intel/ice/ice_txrx.c