summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2016-11-15 10:15:13 -0800
committerDavid S. Miller <davem@davemloft.net>2016-11-16 13:40:58 -0500
commit364b6055738b4c752c30ccaaf25c624e69d76195 (patch)
tree4992c104a968cc42db4e45151426388845903ad3 /drivers/net/ethernet/mellanox
parent21cb84c48ca0619181106f0f44f3802a989de024 (diff)
downloadlinux-stable-364b6055738b4c752c30ccaaf25c624e69d76195.tar.gz
linux-stable-364b6055738b4c752c30ccaaf25c624e69d76195.tar.bz2
linux-stable-364b6055738b4c752c30ccaaf25c624e69d76195.zip
net: busy-poll: return busypolling status to drivers
NAPI drivers use napi_complete_done() or napi_complete() when they drained RX ring and right before re-enabling device interrupts. In busy polling, we can avoid interrupts being delivered since we are polling RX ring in a controlled loop. Drivers can chose to use napi_complete_done() return value to reduce interrupts overhead while busy polling is active. This is optional, legacy drivers should work fine even if not updated. Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: Willem de Bruijn <willemb@google.com> Cc: Adam Belay <abelay@google.com> Cc: Tariq Toukan <tariqt@mellanox.com> Cc: Yuval Mintz <Yuval.Mintz@cavium.com> Cc: Ariel Elior <ariel.elior@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox')
0 files changed, 0 insertions, 0 deletions