]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4eb4b1b04c9e38545c56e2dbef9a5def1f80fb9e
tree01503dbd3808d7ccd37bf228029d3d559c42da9b
parent62df716c63c4e128f80d8d646df0aed1ac3f757a
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