OSDN Git Service

ionic: refill lif identity after fw_up
authorShannon Nelson <snelson@pensando.io>
Thu, 1 Oct 2020 16:22:44 +0000 (09:22 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Oct 2020 23:30:01 +0000 (16:30 -0700)
commita21b5d49e77a2ec732b3dc7c9204c92125b0fa7a
tree01503dbd3808d7ccd37bf228029d3d559c42da9b
parentba6ab8aca216d9be1a2eb3c96a7a8686fe9a1619
ionic: refill lif identity after fw_up

After we do a fw upgrade and refill the ionic->ident.dev, we
also need to update the other identity info.  Since the lif
identity needs to be updated each time the ionic identity is
refreshed, we can pull it into ionic_identify().

The debugfs entry is moved so that it doesn't cause an
error message when the data is refreshed after the fw upgrade.

Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/pensando/ionic/ionic_bus_pci.c
drivers/net/ethernet/pensando/ionic/ionic_lif.c
drivers/net/ethernet/pensando/ionic/ionic_main.c