summaryrefslogtreecommitdiffstats
path: root/drivers/net/benet/be.h
diff options
context:
space:
mode:
authorSomnath Kotur <somnath.kotur@emulex.com>2010-10-21 16:11:14 +0200
committerDavid S. Miller <davem@davemloft.net>2010-10-21 16:11:14 +0200
commitcc4ce020935eab2d261b7b8d24a9843b56ad594c (patch)
treedee9344522ade03f3d8e45e1c72845d6176bfedf /drivers/net/benet/be.h
parentl2tp: small cleanup (diff)
downloadlinux-cc4ce020935eab2d261b7b8d24a9843b56ad594c.tar.xz
linux-cc4ce020935eab2d261b7b8d24a9843b56ad594c.zip
be2net: Changes to use only priority codes allowed by f/w
Changes to use one of the priority codes allowed by CNA f/w for NIC traffic from host. The driver gets the bit map of the priority codes allowed for host traffic through a asynchronous message from the f/w that the driver subscribes to. Signed-off-by: Somnath Kotur <somnath.kotur@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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/benet/be.h b/drivers/net/benet/be.h
index 59a17b569b7f..4594a28b1f66 100644
--- a/drivers/net/benet/be.h
+++ b/drivers/net/benet/be.h
@@ -264,6 +264,8 @@ struct be_adapter {
u16 vlans_added;
u16 max_vlans; /* Number of vlans supported */
u8 vlan_tag[VLAN_N_VID];
+ u8 vlan_prio_bmap; /* Available Priority BitMap */
+ u16 recommended_prio; /* Recommended Priority */
struct be_dma_mem mc_cmd_mem;
struct be_dma_mem stats_cmd;