summaryrefslogtreecommitdiff
path: root/lib/pm-notifier-error-inject.c
diff options
context:
space:
mode:
authorBrett Creeley <brett.creeley@intel.com>2019-06-26 12:20:19 +0300
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2019-07-31 23:40:30 +0300
commitcb7db35641c9a508247bdcd73831c855c8758cd3 (patch)
treea481b456044c135891e715e0071bf39cc2624852 /lib/pm-notifier-error-inject.c
parentc7aeb4d1b9bfdb4e07da1c77cb095f02e912a83f (diff)
downloadlinux-cb7db35641c9a508247bdcd73831c855c8758cd3.tar.xz
ice: Only bump Rx tail and release buffers once per napi_poll
Currently we bump the Rx tail and release/give buffers to hardware every 16 descriptors. This causes us to bump Rx tail up to 4 times per napi_poll call. Also we are always bumping tail on an odd index and this is a problem because hardware ignores the lower 3 bits in the QRX_TAIL register. This is making it so hardware sees tail bumps only every 8 descriptors. Instead lets only bump Rx tail once per napi_poll if the value aligns with hardware's expectations of the lower 3 bits being cleared. Also only release/give Rx buffers once per napi_poll call. 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>
Diffstat (limited to 'lib/pm-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions