summaryrefslogtreecommitdiffstats
path: root/net/openvswitch
diff options
context:
space:
mode:
authorIoana Ciocoi Radulescu <ruxandra.radulescu@nxp.com>2018-10-08 16:16:31 +0200
committerDavid S. Miller <davem@davemloft.net>2018-10-08 20:05:05 +0200
commit68049a5f4dcefdad248f37201a30461f687b0719 (patch)
tree6f8ba19e9c50ff9095c5093dc56fa770c7ed7731 /net/openvswitch
parentnet: mscc: ocelot: remove set but not used variable 'phy_mode' (diff)
downloadlinux-68049a5f4dcefdad248f37201a30461f687b0719.tar.xz
linux-68049a5f4dcefdad248f37201a30461f687b0719.zip
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/openvswitch')
0 files changed, 0 insertions, 0 deletions