diff options
author | Brett Creeley <[email protected]> | 2019-06-26 02:20:19 -0700 |
---|---|---|
committer | Jeff Kirsher <[email protected]> | 2019-07-31 13:40:30 -0700 |
commit | cb7db35641c9a508247bdcd73831c855c8758cd3 (patch) | |
tree | a481b456044c135891e715e0071bf39cc2624852 /tools/perf/scripts/python/stackcollapse.py | |
parent | c7aeb4d1b9bfdb4e07da1c77cb095f02e912a83f (diff) |
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 <[email protected]>
Tested-by: Andrew Bowers <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions