summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2009-03-31 22:07:21 (GMT)
committerDavid S. Miller <davem@davemloft.net>2009-03-31 22:07:21 (GMT)
commit7e765cb4a07356e4f01cc57959c3c798a586f749 (patch)
treeca926b73d5c2f0bb5e82d01d4e2a9cc18ece310d /Documentation
parentc9caceca25854eff4328c89045793a91bf8f9ee3 (diff)
downloadlinux-fsl-qoriq-7e765cb4a07356e4f01cc57959c3c798a586f749.tar.xz
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')
0 files changed, 0 insertions, 0 deletions