]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Disable VLAN 0 tagging for none VLAN traffic
authorAdnan Misherfi <adnan.misherfi@oracle.com>
Thu, 2 Aug 2012 20:17:44 +0000 (16:17 -0400)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Mon, 6 Aug 2012 17:48:30 +0000 (10:48 -0700)
commit6164a4c18414f8873ed578c0211c551abd2bf75a
tree8509e0e69f807f06f61ed7fe959384093994d878
parent8a9d57bcf70ba518ba490cce8e0820479bec6dbd
Disable VLAN 0 tagging for none VLAN traffic

Orabug: 14406424
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>
drivers/net/enic/enic_main.c