ionic: replay VF attributes after fw crash recovery
authorShannon Nelson <snelson@pensando.io>
Wed, 26 Oct 2022 14:37:40 +0000 (07:37 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 28 Oct 2022 03:34:12 +0000 (20:34 -0700)
commitdb28adf9afeb1c3a627546d9b9c8cf45c27267b4
tree0a915ae01cb3ea829bced89cd8cfb4d6eef89ecd
parent31f1aa4f740fc591450777f4ff94d6e062b6f632
ionic: replay VF attributes after fw crash recovery

The VF attributes that the user has set into the FW through
the PF can be lost over a FW crash recovery.  Much like we
already replay the PF mac/vlan filters, we now add a replay
in the recovery path to be sure the FW has the up-to-date
VF configurations.

Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/pensando/ionic/ionic_lif.c