aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgbe/ixgbe_main.c
diff options
context:
space:
mode:
authorYi Zou <yi.zou@intel.com>2009-08-31 08:34:28 -0400
committerDavid S. Miller <davem@davemloft.net>2009-09-01 04:24:40 -0400
commit6ee1652051f14d1c110f48a5b3ee037d63d0c2fa (patch)
tree2abd6fcb4eddfb093f5d46a0faa9e601e38f6cb7 /drivers/net/ixgbe/ixgbe_main.c
parent579496865cf4ea429146382d62047ffdbaab0dee (diff)
ixgbe: Add support for dcbnl_rtnl_ops.setapp/getapp
Add support for dcbnl_rtnl_ops.setapp/getapp to set or get the current user priority bitmap for the given application protocol. Currently, 82599 only supports setapp/getapp for Fiber Channel over Ethernet (FCoE) protocol. Signed-off-by: Yi Zou <yi.zou@intel.com> Acked-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ixgbe/ixgbe_main.c')
-rw-r--r--drivers/net/ixgbe/ixgbe_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ixgbe/ixgbe_main.c b/drivers/net/ixgbe/ixgbe_main.c
index 30a58fbbeed..f907836eed2 100644
--- a/drivers/net/ixgbe/ixgbe_main.c
+++ b/drivers/net/ixgbe/ixgbe_main.c
@@ -3801,6 +3801,8 @@ static int __devinit ixgbe_sw_init(struct ixgbe_adapter *adapter)
3801 adapter->flags |= IXGBE_FLAG_FCOE_CAPABLE; 3801 adapter->flags |= IXGBE_FLAG_FCOE_CAPABLE;
3802 adapter->flags &= ~IXGBE_FLAG_FCOE_ENABLED; 3802 adapter->flags &= ~IXGBE_FLAG_FCOE_ENABLED;
3803 adapter->ring_feature[RING_F_FCOE].indices = 0; 3803 adapter->ring_feature[RING_F_FCOE].indices = 0;
3804 /* Default traffic class to use for FCoE */
3805 adapter->fcoe.tc = IXGBE_FCOE_DEFTC;
3804#endif /* IXGBE_FCOE */ 3806#endif /* IXGBE_FCOE */
3805 } 3807 }
3806 3808