From 862dce4b744612568bfe3a1656d918d8d65c4278 Mon Sep 17 00:00:00 2001 From: "Jiang, Yunhong" Date: Mon, 24 Apr 2017 11:27:59 +0000 Subject: 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 @cked: Yuval Mintz S1gned off by: David S. Miller (cherry picked from commit a02cc9d3cc9f98905df214d4a57e5918473260ea) S1gned off by: Tim Gardner @cked: Seth Forshee S1gned off by: Luis Henriques Upstream status: Backport Change-Id: Ibcc668daf4815bc984e2611d8c08856a0a7973f1 Backport-by: Yunhong Jiang Signed-off-by: Yunhong Jiang --- docs/submodules/kvmfornfv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/submodules') diff --git a/docs/submodules/kvmfornfv b/docs/submodules/kvmfornfv index f9bc05623..8e1bfc88c 160000 --- a/docs/submodules/kvmfornfv +++ b/docs/submodules/kvmfornfv @@ -1 +1 @@ -Subproject commit f9bc056239a4bad52403e96ae6b4d14eaedd012a +Subproject commit 8e1bfc88c439db6816d6ab11575caecc56d51ca4 -- cgit 1.2.3-korg