diff options
author | Yuval Mintz <Yuval.Mintz@qlogic.com> | 2014-04-24 19:29:53 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-04-26 12:15:27 -0400 |
commit | 1a3d94240bc5e969e7e8cef661fbad24296ba36f (patch) | |
tree | 5ce6fccec942f80313703c7171e2938f85b5dbf9 /scripts | |
parent | e2a367f8e3c2afd5cfd5f0892844c74960ecc031 (diff) |
bnx2x: Fix vlan credit issues for VFs
Starting with commit 2dc33bbc "bnx2x: Remove the sriov VFOP mechanism",
the bnx2x started enforcing vlan credits for all vlan configurations.
This exposed 2 issues:
- Vlan credits are not returned once a VF is removed; this causes a leak
of credits, and eventually will lead to VFs with no vlan credits.
- A vlan credit must be set aside for the Hypervisor to use, and should
not be visible to the VF.
Although linux VFs at the moment do not support vlan configuration [from the
VF side] which causes them to be resilient to this sort of issue, Windows VF
over linux hypervisors might fail to load as the vlan credits become depleted.
Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: Ariel Elior <Ariel.Elior@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions