commit | bc9ad166e38ae1cdcb5323a8aa45dff834d68bfa | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Tue Oct 28 18:05:13 2014 -0700 |
committer | David S. Miller <davem@davemloft.net> | Wed Oct 29 16:07:27 2014 -0400 |
tree | 3cfa21dccafd603158859124f95ef2698049be9e | |
parent | c6be2a10ac2f810bdd01e978c93a8ef65b46120b [diff] |
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>