ionic: add queue lock around open and stop
authorShannon Nelson <snelson@pensando.io>
Fri, 27 Aug 2021 18:55:10 +0000 (11:55 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 28 Aug 2021 10:23:09 +0000 (11:23 +0100)
commitaf3d2ae1144327490f4eb96accbfa1d0f404eb8a
tree7e67c6db0324b6374d0a020293abfdcbedac8205
parent92c90dff687f86ca02bcc1bf7d43626fcf06f4c9
ionic: add queue lock around open and stop

Add the queue configuration lock to ionic_open() and
ionic_stop() so that they don't collide with other in parallel
queue configuration actions such as MTU changes as can be
demonstrated with a tight loop of ifup/change-mtu/ifdown.

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