diff options
author | Eric Dumazet <edumazet@google.com> | 2014-10-29 02:05:13 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-10-29 21:07:27 +0100 |
commit | bc9ad166e38ae1cdcb5323a8aa45dff834d68bfa (patch) | |
tree | 3cfa21dccafd603158859124f95ef2698049be9e /include/net/neighbour.h | |
parent | Merge branch 'xen-netback-next' (diff) | |
download | linux-bc9ad166e38ae1cdcb5323a8aa45dff834d68bfa.tar.xz linux-bc9ad166e38ae1cdcb5323a8aa45dff834d68bfa.zip |
net: introduce napi_schedule_irqoff()
napi_schedule() can be called from any context and has to mask hard
irqs.
Add a variant that can only be called from hard interrupts handlers
or when irqs are already masked.
Many NIC drivers can use it from their hard IRQ handler instead of
generic variant.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/neighbour.h')
0 files changed, 0 insertions, 0 deletions