Searched refs:num_tcs (Results 1 – 4 of 4) sorted by relevance
60 u8 num_tcs = netdev_get_num_tc(dev); in ixgbe_get_first_reg_idx() local72 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() local121 if (!num_tcs) in ixgbe_cache_ring_dcb()124 for (i = 0, k = 0; i < num_tcs; i++) { in ixgbe_cache_ring_dcb()
168 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()
133 struct dcb_num_tcs num_tcs; member
4409 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()