]> git.baikalelectronics.ru Git - kernel.git/commit
ice: Always set prefena when configuring an Rx queue
authorBrett Creeley <brett.creeley@intel.com>
Wed, 26 Jun 2019 09:20:15 +0000 (02:20 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 31 Jul 2019 17:23:04 +0000 (10:23 -0700)
commit5f33ae052ad4ac6155a8f8074eaa234a21a373aa
tree7e49e09eb64209b2bd09ef384b767f86f4a392bc
parent346a745f01c2bcab2df756eb5c1271995165218a
ice: Always set prefena when configuring an Rx queue

Currently we are always setting prefena to 0. This is causing the
hardware to only fetch descriptors when there are none free in the cache
for a received packet instead of prefetching when it has used the last
descriptor regardless of incoming packets. Fix this by allowing the
hardware to prefetch Rx descriptors.

Signed-off-by: Brett Creeley <brett.creeley@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_common.c
drivers/net/ethernet/intel/ice/ice_lan_tx_rx.h