]> git.baikalelectronics.ru Git - kernel.git/commit
e100: make sure vlan support isn't advertised on old adapters
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Sat, 22 Oct 2011 05:18:10 +0000 (05:18 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 2 Nov 2011 23:55:00 +0000 (16:55 -0700)
commit42f78ce5191df745f7ed915c58e23fd72afde28a
tree36131ab7f2cb2fe4143f43482cd476a498dd283b
parentdc2d74c8f9ccb06d63d562eef7f0de9b3829fb25
e100: make sure vlan support isn't advertised on old adapters

e100 parts don't support vlan offload but they generally do
allow use of vlans in higher software layers via the 8021q module.
That said, there are a couple of really old revisions of e100
hardware that don't even allow the longer frame sizes
required for vlan use with standard MTU.

Use the VLAN_CHALLENGED flag to prevent vlan binding to these
devices.

Reported-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
CC: Michael Tokarev <mjt@tls.msk.ru>
CC: David Lamparter <equinox@diac24.net>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/e100.c