summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/igc
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2021-02-01 11:28:48 -0600
committerJakub Kicinski <kuba@kernel.org>2021-02-02 17:42:36 -0800
commit4fef691c9b6ab5ed92b874bc6ddfb14a34c650ab (patch)
treebffbcadeba58c45c33a966f0b45d858acee5e3ab /drivers/net/ethernet/intel/igc
parentbd1ea1e46448992a4a3dfb6e6e2c410ca069a41c (diff)
net: ipa: disable interrupt and NAPI after channel stop
Disable both the I/O completion interrupt and NAPI polling on a channel *after* we successfully stop it rather than before. This ensures a completion occurring just before the channel is stopped gets processed. Enable NAPI polling and the interrupt *before* starting a channel rather than after, to be symmetric. A stopped channel won't generate any completion interrupts anyway. Enable NAPI before the interrupt and disable it afterward. Signed-off-by: Alex Elder <elder@linaro.org> Acked-by: Willem de Bruijn <willemb@google.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/intel/igc')
0 files changed, 0 insertions, 0 deletions