ice: use prefetch methods
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Wed, 27 Oct 2021 19:38:36 +0000 (12:38 -0700)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Wed, 15 Dec 2021 16:46:28 +0000 (08:46 -0800)
commitcc14db11c8a40f930fc1e4b254a37e0fce745236
tree053e5a007c65310ad7a8e47c4af24fde75f0fa6c
parent1c96c16858bacb8e77a506b9493a8e4e517b669b
ice: use prefetch methods

The kernel provides some prefetch mechanisms to speed up commonly
cold cache line accesses during receive processing. Since these are
software structures it helps to have these strategically placed
prefetches.

Be careful to call BQL prefetch complete only for non XDP queues.

Co-developed-by: Piotr Raczynski <piotr.raczynski@intel.com>
Signed-off-by: Piotr Raczynski <piotr.raczynski@intel.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Gurucharan G <gurucharanx.g@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_txrx.c