aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/benet/be.h
diff options
context:
space:
mode:
authorAjit Khaparde <ajit.khaparde@emulex.com>2011-02-20 06:41:53 -0500
committerDavid S. Miller <davem@davemloft.net>2011-02-22 13:26:46 -0500
commit3968fa1e58896187ee5629db0720d93b9313ad9f (patch)
treeb2ec3d6fcc3342afad5a81e0c1a6380d493bffee /drivers/net/benet/be.h
parentb2aebe6d8102ed55c161371a6ac4d945c95c334c (diff)
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.h1
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 {
311 struct be_vf_cfg vf_cfg[BE_MAX_VF]; 311 struct be_vf_cfg vf_cfg[BE_MAX_VF];
312 u8 is_virtfn; 312 u8 is_virtfn;
313 u32 sli_family; 313 u32 sli_family;
314 u16 pvid;
314}; 315};
315 316
316#define be_physfn(adapter) (!adapter->is_virtfn) 317#define be_physfn(adapter) (!adapter->is_virtfn)