]> git.baikalelectronics.ru Git - kernel.git/commit
ionic: call ionic_port_init after fw-upgrade
authorShannon Nelson <snelson@pensando.io>
Mon, 11 May 2020 21:04:45 +0000 (14:04 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 May 2020 19:12:34 +0000 (12:12 -0700)
commitc53760b4e843fafda2c8e84ff8844563e8299355
tree936dbf820dd36c351a909ced61fe6e77c44e1ae8
parentd6fb58f46608a32cc211918281add5195cdc2ec4
ionic: call ionic_port_init after fw-upgrade

Since the fw has been re-inited, we need to refresh the port
information dma address so we can see fresh port information.
Let's call ionic_port_init again, and tweak it to allow for
a call to simply refresh the existing dma address.

Fixes: ede80d26b82e ("ionic: remove lifs on fw reset")
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
drivers/net/ethernet/pensando/ionic/ionic_main.c