]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Disable VLAN 0 tagging for none VLAN traffic
authorBrian Maly <brian.maly@oracle.com>
Wed, 28 Oct 2015 23:03:09 +0000 (19:03 -0400)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Tue, 10 Nov 2015 22:25:28 +0000 (14:25 -0800)
commitea84c751437e6dba1757fa6df5675f049553d7f4
tree519f50732ece40599ab3920fcc073d70f9193daa
parentdeec710e40e321821716e6f51ce3cf43bf23e8d9
Disable VLAN 0 tagging for none VLAN traffic

Orabug: 22074114

Cisco enic driver on UCS blades tags a None VLAN traffic with VLAN 0, this causes VMs
that do not have the kernel patch " VLAN 0 should be treated as no vlan tag" to drop all
receive traffic as these VMs do not know how to deal with the VLAN 0 tag.
This is also a problem for older VMs that can not take the mentioned patch.

This fix disables the enic driver from tagging a None VLAN traffic with VLAN 0.This
fix is controlled by a driver parameters " disable_vlan0". the default value is disable_vlan0=1
which to disable the driver from tagging traffic with VLAN 0. To revert to original behavior
add "options enic disable_vlan0=0" to /etc/modprobe.con

Signed-off-by: Adnan Misherfi <adnan.misherfi@oracle.com>
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/cisco/enic/enic_main.c