net: introduce napi_schedule_irqoff()
authorEric Dumazet <edumazet@google.com>
Wed, 29 Oct 2014 01:05:13 +0000 (18:05 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Oct 2014 20:07:27 +0000 (16:07 -0400)
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>

No differences found