]> 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)
commitbab64b25ef25e0e01cacef6ed11ff8a628b91939
tree7e49e09eb64209b2bd09ef384b767f86f4a392bc
parent6e05f80e552ac024f70b7c6df32e125333e9fc19
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