diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2009-03-31 15:07:21 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-31 15:07:21 -0700 |
commit | 7e765cb4a07356e4f01cc57959c3c798a586f749 (patch) | |
tree | ca926b73d5c2f0bb5e82d01d4e2a9cc18ece310d /Documentation/networking | |
parent | c9caceca25854eff4328c89045793a91bf8f9ee3 (diff) |
sfc: Call netif_napi_add() before registering our interrupt handler
If we use a shared legacy IRQ then our interrupt handler may be called
as soon as it is registered even though IRQs are disabled on the NIC.
Now that the legacy interrupt handler also checks for event delivery,
it may decide to schedule polling in this case. Ensure that the NAPI
context is valid but disabled at this point.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/networking')
0 files changed, 0 insertions, 0 deletions