be2net: fix to ignore transparent vlan ids wrongly indicated by NIC
authorAjit Khaparde <ajit.khaparde@emulex.com>
Sun, 20 Feb 2011 11:41:53 +0000 (11:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Feb 2011 18:26:46 +0000 (10:26 -0800)
commit3968fa1e58896187ee5629db0720d93b9313ad9f
treeb2ec3d6fcc3342afad5a81e0c1a6380d493bffee
parentb2aebe6d8102ed55c161371a6ac4d945c95c334c
be2net: fix to ignore transparent vlan ids wrongly indicated by NIC

With transparent VLAN tagging, the ASIC wrongly indicates packets with VLAN ID.
Strip them off in the driver. The VLAN Tag to be stripped will be given to the host
as an async message.

Signed-off-by: Ajit Khaparde <ajit.khaparde@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/benet/be.h
drivers/net/benet/be_cmds.c
drivers/net/benet/be_cmds.h
drivers/net/benet/be_main.c