]> git.baikalelectronics.ru Git - kernel.git/commit
ionic: add lif_quiesce to wait for queue activity to stop
authorShannon Nelson <snelson@pensando.io>
Tue, 1 Oct 2019 03:03:26 +0000 (20:03 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Oct 2019 15:55:12 +0000 (11:55 -0400)
commit1c383f572d66ea1fcdb3feef95b2adac9993ae63
tree5190e979171338a8fd8c14cabafed92d53fa1990
parent461e901318c236def10f183c58500ded7640d35d
ionic: add lif_quiesce to wait for queue activity to stop

Even though we've already turned off the queue activity with
the ionic_qcq_disable(), we need to wait for any device queues
that are processing packets to drain down before we try to
flush our packets and tear down the queues.

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