OSDN Git Service

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)
commite982ae6aa4e1505d7567a54ef3f259a9647dfd35
tree5190e979171338a8fd8c14cabafed92d53fa1990
parente95f922f4c2f27bd7b7479a8fd6bdc689e2062be
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