Searched refs:num_tcs (Results  1 – 9 of 9) sorted by relevance
| /linux-4.1.27/drivers/net/ethernet/intel/ixgbe/ | 
| D | ixgbe_sriov.c | 95 			adapter->dcb_cfg.num_tcs.pg_tcs = MAX_TRAFFIC_CLASS;  in __ixgbe_enable_sriov() 96 			adapter->dcb_cfg.num_tcs.pfc_tcs = MAX_TRAFFIC_CLASS;  in __ixgbe_enable_sriov() 98 			adapter->dcb_cfg.num_tcs.pg_tcs = 4;  in __ixgbe_enable_sriov() 99 			adapter->dcb_cfg.num_tcs.pfc_tcs = 4;  in __ixgbe_enable_sriov() 101 			adapter->dcb_cfg.num_tcs.pg_tcs = 1;  in __ixgbe_enable_sriov() 102 			adapter->dcb_cfg.num_tcs.pfc_tcs = 1;  in __ixgbe_enable_sriov() 517 	u8 num_tcs = netdev_get_num_tc(adapter->netdev);  in ixgbe_vf_reset_event()  local 526 	if (!vfinfo->pf_vlan && !vfinfo->pf_qos && !num_tcs) {  in ixgbe_vf_reset_event() 529 		if (vfinfo->pf_qos || !num_tcs)  in ixgbe_vf_reset_event() 923 	u8 num_tcs = netdev_get_num_tc(dev);  in ixgbe_get_vf_queues()  local [all …] 
 | 
| D | ixgbe_lib.c | 116 	u8 num_tcs = netdev_get_num_tc(dev);  in ixgbe_get_first_reg_idx()  local 131 		if (num_tcs > 4) {  in ixgbe_get_first_reg_idx() 173 	u8 num_tcs = netdev_get_num_tc(dev);  in ixgbe_cache_ring_dcb()  local 176 	if (num_tcs <= 1)  in ixgbe_cache_ring_dcb() 181 	for (tc = 0, offset = 0; tc < num_tcs; tc++, offset += rss_i) {  in ixgbe_cache_ring_dcb() 1120 	adapter->dcb_cfg.num_tcs.pg_tcs = 1;  in ixgbe_set_interrupt_capability() 1121 	adapter->dcb_cfg.num_tcs.pfc_tcs = 1;  in ixgbe_set_interrupt_capability()
  | 
| D | ixgbe_dcb_nl.c | 166 				state ? adapter->dcb_cfg.num_tcs.pg_tcs : 0);  in ixgbe_dcbnl_set_state() 454 			*num = adapter->dcb_cfg.num_tcs.pg_tcs;  in ixgbe_dcbnl_getnumtcs() 457 			*num = adapter->dcb_cfg.num_tcs.pfc_tcs;  in ixgbe_dcbnl_getnumtcs() 518 	ets->ets_cap = adapter->dcb_cfg.num_tcs.pg_tcs;  in ixgbe_dcbnl_ieee_getets() 571 	if (max_tc > adapter->dcb_cfg.num_tcs.pg_tcs)  in ixgbe_dcbnl_ieee_setets() 592 	pfc->pfc_cap = adapter->dcb_cfg.num_tcs.pfc_tcs;  in ixgbe_dcbnl_ieee_getpfc()
  | 
| D | ixgbe_dcb.h | 133 	struct dcb_num_tcs num_tcs;  member
  | 
| D | ixgbe_dcb.c | 231 	u8 tc = cfg->num_tcs.pg_tcs;  in ixgbe_dcb_get_tc_from_up()
  | 
| D | ixgbe_main.c | 5290 		adapter->dcb_cfg.num_tcs.pg_tcs = X540_TRAFFIC_CLASS;  in ixgbe_sw_init() 5291 		adapter->dcb_cfg.num_tcs.pfc_tcs = X540_TRAFFIC_CLASS;  in ixgbe_sw_init() 5294 		adapter->dcb_cfg.num_tcs.pg_tcs = MAX_TRAFFIC_CLASS;  in ixgbe_sw_init() 5295 		adapter->dcb_cfg.num_tcs.pfc_tcs = MAX_TRAFFIC_CLASS;  in ixgbe_sw_init() 7697 	if (tc > adapter->dcb_cfg.num_tcs.pg_tcs ||  in ixgbe_setup_tc()
  | 
| /linux-4.1.27/drivers/net/ethernet/intel/ixgbevf/ | 
| D | vf.c | 662 int ixgbevf_get_queues(struct ixgbe_hw *hw, unsigned int *num_tcs,  in ixgbevf_get_queues()  argument 706 		*num_tcs = msg[IXGBE_VF_TRANS_VLAN];  in ixgbevf_get_queues() 708 		if (*num_tcs > hw->mac.max_rx_queues)  in ixgbevf_get_queues() 709 			*num_tcs = 1;  in ixgbevf_get_queues()
  | 
| D | vf.h | 211 int ixgbevf_get_queues(struct ixgbe_hw *hw, unsigned int *num_tcs,
  | 
| D | ixgbevf_main.c | 1941 	unsigned int num_tcs = 0;  in ixgbevf_configure_dcb()  local 1949 	err = ixgbevf_get_queues(hw, &num_tcs, &def_q);  in ixgbevf_configure_dcb() 1956 	if (num_tcs > 1) {  in ixgbevf_configure_dcb() 1964 		num_rx_queues = num_tcs;  in ixgbevf_configure_dcb() 2311 	unsigned int num_tcs = 0;  in ixgbevf_set_num_queues()  local 2321 	err = ixgbevf_get_queues(hw, &num_tcs, &def_q);  in ixgbevf_set_num_queues() 2329 	if (num_tcs > 1) {  in ixgbevf_set_num_queues() 2330 		adapter->num_rx_queues = num_tcs;  in ixgbevf_set_num_queues()
  |