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)
commitddc5911b9bd228dd69de976a4545292420f45e73
tree936dbf820dd36c351a909ced61fe6e77c44e1ae8
parentf20a4d404122b183b7d66cadea917fcd1340c05b
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: c672412f6172 ("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