]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commiteb786eb05a0e0b82580bcc09c365798c4589565c
treea43a7bba5c4bd78134b4271ee62b2e5eab37736d
parentb9e51d6f95a35f4288c680b050ec0932d543764a
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