diff options
author | Eric Dumazet <edumazet@google.com> | 2014-10-28 18:05:13 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-10-29 16:07:27 -0400 |
commit | bc9ad166e38ae1cdcb5323a8aa45dff834d68bfa (patch) | |
tree | 3cfa21dccafd603158859124f95ef2698049be9e /net/dsa | |
parent | c6be2a10ac2f810bdd01e978c93a8ef65b46120b (diff) | |
download | linux-bc9ad166e38ae1cdcb5323a8aa45dff834d68bfa.tar.bz2 |
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 'net/dsa')
0 files changed, 0 insertions, 0 deletions