bnx2x: fix detection of VLAN filtering feature for VF
authorMichal Schmidt <mschmidt@redhat.com>
Fri, 3 Mar 2017 16:08:31 +0000 (17:08 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Mar 2017 21:47:15 +0000 (13:47 -0800)
commit83bd9eb8fc69cdd5135ed6e1f066adc8841800fd
tree3f9a1c035cc47acefc5ed75d84db2335a1f28f2c
parent22118d861cec5da6ed525aaf12a3de9bfeffc58f
bnx2x: fix detection of VLAN filtering feature for VF

VFs are currently missing the VLAN filtering feature, because we were
checking the PF's acquire response before actually performing the acquire.

Fix it by setting the feature flag later when we have the PF response.

Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c