net/bnxt: restore VLAN filters during reset recovery
authorKalesh AP <kalesh-anakkur.purayil@broadcom.com>
Tue, 10 Dec 2019 15:05:25 +0000 (20:35 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 17 Jan 2020 18:45:23 +0000 (19:45 +0100)
commit151c8240ac6ad32269a04b5012cabceea0843abb
tree43478c412b714baf1b167222a7ee91fd060737b2
parentb02f1573cd0774940f063dade7d5d8606af1d948
net/bnxt: restore VLAN filters during reset recovery

Older Firmware could have state information such as
MAC Filters, VLAN settings etc configured by user.
But new Firmware is unaware of this state information
and as a result driver should restore these settings
during reset recovery.

This patch restores the user configured vlan settings
prior to hot FW upgrade or FW error.

Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_ethdev.c