summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorIoana Ciocoi Radulescu <ruxandra.radulescu@nxp.com>2018-10-08 14:16:31 +0000
committerDavid S. Miller <davem@davemloft.net>2018-10-08 11:05:05 -0700
commit68049a5f4dcefdad248f37201a30461f687b0719 (patch)
tree6f8ba19e9c50ff9095c5093dc56fa770c7ed7731 /net
parent9e19dabc0559306eed523835dd00376d681ee866 (diff)
dpaa2-eth: Don't account Tx confirmation frames on NAPI poll
Until now, both Rx and Tx confirmation frames handled during NAPI poll were counted toward the NAPI budget. However, Tx confirmations are lighter to process than Rx frames, which can skew the amount of work actually done inside one NAPI cycle. Update the code to only count Rx frames toward the NAPI budget and set a separate threshold on how many Tx conf frames can be processed in one poll cycle. The NAPI poll routine stops when either the budget is consumed by Rx frames or when Tx confirmation frames reach this threshold. Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions