Linux/linux 4a4d2d3drivers/net/ethernet/broadcom/bnx2x bnx2x_main.c bnx2x_cmn.c

bnx2x: Fix VF's VLAN reconfiguration in reload.

Commit 04f05230c5c13 ("bnx2x: Remove configured vlans as
part of unload sequence."), introduced a regression in driver
that as a part of VF's reload flow, VLANs created on the VF
doesn't get re-configured in hardware as vlan metadata/info
was not getting cleared for the VFs which causes vlan PING to stop.

This patch clears the vlan metadata/info so that VLANs gets
re-configured back in the hardware in VF's reload flow and
PING/traffic continues for VLANs created over the VFs.

Fixes: 04f05230c5c13 ("bnx2x: Remove configured vlans as part of unload sequence.")
Signed-off-by: Manish Chopra <manishc at marvell.com>
Signed-off-by: Sudarsana Kalluru <skalluru at marvell.com>
Signed-off-by: Shahed Shaikh <shshaikh at marvell.com>
Signed-off-by: David S. Miller <davem at davemloft.net>
DeltaFile
+12-5drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
+4-3drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
+2-0drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h
+18-83 files

UnifiedSplitRaw