]> git.baikalelectronics.ru Git - kernel.git/commit
ionic: disable all queue napi contexts on timeout
authorShannon Nelson <snelson@pensando.io>
Thu, 1 Oct 2020 16:22:43 +0000 (09:22 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Oct 2020 23:30:01 +0000 (16:30 -0700)
commit403f668c689aa6293e2608f0a4a5ea34d3af0011
tree72fa7e052999587ea4020430b591d556ce223577
parentb7feaa38cd2aee0ead99d174d360fdb98fd417ed
ionic: disable all queue napi contexts on timeout

Some time ago we short-circuited the queue disables on a timeout
error in order to not have to wait on every queue when we already
know it will time out.  However, this meant that we're not
properly stopping all the interrupts and napi contexts.  This
changes queue disable to always call ionic_qcq_disable() and to
give it an argument to know when to not do the adminq request.

Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/pensando/ionic/ionic_lif.c