]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerSomasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
Fri, 14 Jul 2017 17:54:22 +0000 (10:54 -0700)
commitacad2df701991db8b24a4189aae833b0a90d3e6e
treea9bbc2e4fed92faf6ce626ee2b4d0a6177b8d0a7
parent8adfff562c3524034d12c283eb70df53be955179
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.

Orabug: 26440216

Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 83bd9eb8fc69cdd5135ed6e1f066adc8841800fd)
Signed-off-by: Somasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
Reviewed-by: Jack Vogel <jack.vogel@oracle.com>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c