ionic: change mtu without full queue rebuild
authorShannon Nelson <snelson@pensando.io>
Thu, 27 Aug 2020 23:00:27 +0000 (16:00 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Aug 2020 15:01:30 +0000 (08:01 -0700)
commitf053e1f8709819fdc3cdc03803ad137bade9a7d6
treea43a7bba5c4bd78134b4271ee62b2e5eab37736d
parentf1d2e894f1b77decfdae72fa41c24ddd2ecd33bc
ionic: change mtu without full queue rebuild

We really don't need to tear down and rebuild the whole queue structure
when changing the MTU; we can simply stop the queues, clean and refill,
then restart 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