Home
last modified time | relevance | path

Searched refs:num_tcs (Results 1 – 4 of 4) sorted by relevance

/linux-3.4.99/drivers/net/ethernet/intel/ixgbe/
Dixgbe_lib.c60 u8 num_tcs = netdev_get_num_tc(dev); in ixgbe_get_first_reg_idx() local
72 if (num_tcs > 4) { in ixgbe_get_first_reg_idx()
79 } else if (tc < num_tcs) { in ixgbe_get_first_reg_idx()
119 u8 num_tcs = netdev_get_num_tc(dev); in ixgbe_cache_ring_dcb() local
121 if (!num_tcs) in ixgbe_cache_ring_dcb()
124 for (i = 0, k = 0; i < num_tcs; i++) { in ixgbe_cache_ring_dcb()
Dixgbe_dcb_nl.c168 err = ixgbe_setup_tc(netdev, adapter->dcb_cfg.num_tcs.pg_tcs); in ixgbe_dcbnl_set_state()
497 *num = adapter->dcb_cfg.num_tcs.pg_tcs; in ixgbe_dcbnl_getnumtcs()
500 *num = adapter->dcb_cfg.num_tcs.pfc_tcs; in ixgbe_dcbnl_getnumtcs()
562 ets->ets_cap = adapter->dcb_cfg.num_tcs.pg_tcs; in ixgbe_dcbnl_ieee_getets()
604 if (max_tc > adapter->dcb_cfg.num_tcs.pg_tcs) in ixgbe_dcbnl_ieee_setets()
628 pfc->pfc_cap = adapter->dcb_cfg.num_tcs.pfc_tcs; in ixgbe_dcbnl_ieee_getpfc()
Dixgbe_dcb.h133 struct dcb_num_tcs num_tcs; member
Dixgbe_main.c4409 adapter->dcb_cfg.num_tcs.pg_tcs = X540_TRAFFIC_CLASS; in ixgbe_sw_init()
4410 adapter->dcb_cfg.num_tcs.pfc_tcs = X540_TRAFFIC_CLASS; in ixgbe_sw_init()
4413 adapter->dcb_cfg.num_tcs.pg_tcs = MAX_TRAFFIC_CLASS; in ixgbe_sw_init()
4414 adapter->dcb_cfg.num_tcs.pfc_tcs = MAX_TRAFFIC_CLASS; in ixgbe_sw_init()
6572 if (tc > adapter->dcb_cfg.num_tcs.pg_tcs || in ixgbe_setup_tc()