diff options
author | Ajit Khaparde <ajit.khaparde@emulex.com> | 2011-02-20 14:41:53 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-22 21:26:46 +0300 |
commit | 3968fa1e58896187ee5629db0720d93b9313ad9f (patch) | |
tree | b2ec3d6fcc3342afad5a81e0c1a6380d493bffee /drivers/net/benet/be.h | |
parent | b2aebe6d8102ed55c161371a6ac4d945c95c334c (diff) | |
download | linux-3968fa1e58896187ee5629db0720d93b9313ad9f.tar.xz |
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>
Diffstat (limited to 'drivers/net/benet/be.h')
-rw-r--r-- | drivers/net/benet/be.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/benet/be.h b/drivers/net/benet/be.h index fb605e83446c..7bf8dd4edeb4 100644 --- a/drivers/net/benet/be.h +++ b/drivers/net/benet/be.h @@ -311,6 +311,7 @@ struct be_adapter { struct be_vf_cfg vf_cfg[BE_MAX_VF]; u8 is_virtfn; u32 sli_family; + u16 pvid; }; #define be_physfn(adapter) (!adapter->is_virtfn) |