diff options
author | Jiang, Yunhong <yunhong.jiang@intel.com> | 2017-04-24 11:27:59 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-04-24 11:27:59 +0000 |
commit | 862dce4b744612568bfe3a1656d918d8d65c4278 (patch) | |
tree | 932e92f1110c4d97027c2017a9f673b6df31bb24 /docs/submodules/kvmfornfv | |
parent | 8ab707de7a1efd87173162b044902b30208f86e1 (diff) |
Update git submodules
* Update docs/submodules/kvmfornfv from branch 'master'
- Merge "bnx2x: allow adding VLANs while interface is down"
- bnx2x: allow adding VLANs while interface is down
BugLink: http://bugs.launchpad.net/bugs/1616107
Since implementing VLAN filtering in commit 05cc5a39ddb74
("bnx2x: add vlan filtering offload") bnx2x refuses to add a VLAN while
the interface is down:
# ip link add link enp3s0f0 enp3s0f0_10 type vlan id 10
RTNETLINK answers: Bad address
and in dmesg (with bnx2x.debug=0x20):
bnx2x: [bnx2x_vlan_rx_add_vid:12941(enp3s0f0)]Ignoring VLAN
configuration the interface is down
Other drivers have no problem with this.
Fix this peculiar behavior in the following way:
- Accept requests to add/kill VID regardless of the device state.
Maintain the requested list of VIDs in the bp->vlan_reg list.
- If the device is up, try to configure the VID list into the hardware.
If we run out of VLAN credits or encounter a failure configuring an
entry, fall back to accepting all VLANs.
If we successfully configure all entries from the list, turn the
fallback off.
- Use the same code for reconfiguring VLANs during NIC load.
Have to change the signed-off-by line to avoid spam to original people.
S1gned off by: Michal Schmidt <mschmidt@redhat.com>
@cked: Yuval Mintz <Yuval.Mintz@qlogic.com>
S1gned off by: David S. Miller <davem@davemloft.net>
(cherry picked from commit a02cc9d3cc9f98905df214d4a57e5918473260ea)
S1gned off by: Tim Gardner <tim.gardner@canonical.com>
@cked: Seth Forshee <seth.forshee@canonical.com>
S1gned off by: Luis Henriques <luis.henriques@canonical.com>
Upstream status: Backport
Change-Id: Ibcc668daf4815bc984e2611d8c08856a0a7973f1
Backport-by: Yunhong Jiang <yunhong.jiang@linux.intel.com>
Signed-off-by: Yunhong Jiang <yunhong.jiang@linux.intel.com>
Diffstat (limited to 'docs/submodules/kvmfornfv')
m--------- | docs/submodules/kvmfornfv | 0 |
1 files changed, 0 insertions, 0 deletions
diff --git a/docs/submodules/kvmfornfv b/docs/submodules/kvmfornfv -Subproject f9bc056239a4bad52403e96ae6b4d14eaedd012 +Subproject 8e1bfc88c439db6816d6ab11575caecc56d51ca |