Searched refs:tc_config (Results 1 – 10 of 10) sorted by relevance
85 p = &dcb_config->tc_config[i].path[direction]; in ixgbe_dcb_calculate_tc_credits()107 p = &dcb_config->tc_config[i].path[direction]; in ixgbe_dcb_calculate_tc_credits()152 dcb_config->tc_config[i].desc_credits_max = in ixgbe_dcb_calculate_tc_credits()164 struct tc_configuration *tc_config = &cfg->tc_config[0]; in ixgbe_dcb_unpack_pfc() local168 if (tc_config[tc].dcb_pfc != pfc_disabled) in ixgbe_dcb_unpack_pfc()176 struct tc_configuration *tc_config = &cfg->tc_config[0]; in ixgbe_dcb_unpack_refill() local180 refill[tc] = tc_config[tc].path[direction].data_credits_refill; in ixgbe_dcb_unpack_refill()185 struct tc_configuration *tc_config = &cfg->tc_config[0]; in ixgbe_dcb_unpack_max() local189 max[tc] = tc_config[tc].desc_credits_max; in ixgbe_dcb_unpack_max()195 struct tc_configuration *tc_config = &cfg->tc_config[0]; in ixgbe_dcb_unpack_bwgid() local[all …]
45 src = &scfg->tc_config[i - DCB_PG_ATTR_TC_0]; in ixgbe_copy_dcb_cfg()46 dst = &dcfg->tc_config[i - DCB_PG_ATTR_TC_0]; in ixgbe_copy_dcb_cfg()107 if (dcfg->tc_config[j].dcb_pfc != scfg->tc_config[j].dcb_pfc) { in ixgbe_copy_dcb_cfg()108 dcfg->tc_config[j].dcb_pfc = scfg->tc_config[j].dcb_pfc; in ixgbe_copy_dcb_cfg()174 adapter->temp_dcb_cfg.tc_config[tc].path[0].prio_type = prio; in ixgbe_dcbnl_set_pg_tc_cfg_tx()176 adapter->temp_dcb_cfg.tc_config[tc].path[0].bwg_id = bwg_id; in ixgbe_dcbnl_set_pg_tc_cfg_tx()178 adapter->temp_dcb_cfg.tc_config[tc].path[0].bwg_percent = in ixgbe_dcbnl_set_pg_tc_cfg_tx()181 adapter->temp_dcb_cfg.tc_config[tc].path[0].up_to_tc_bitmap = in ixgbe_dcbnl_set_pg_tc_cfg_tx()200 adapter->temp_dcb_cfg.tc_config[tc].path[1].prio_type = prio; in ixgbe_dcbnl_set_pg_tc_cfg_rx()202 adapter->temp_dcb_cfg.tc_config[tc].path[1].bwg_id = bwg_id; in ixgbe_dcbnl_set_pg_tc_cfg_rx()[all …]
109 struct tc_configuration tc_config[MAX_TRAFFIC_CLASS]; member
6235 tc = &adapter->dcb_cfg.tc_config[j]; in ixgbe_init_dcb()6244 tc = &adapter->dcb_cfg.tc_config[0]; in ixgbe_init_dcb()
1827 vsi->tc_config.numtc = vsi->mqprio_qopt.qopt.num_tc; in i40e_vsi_setup_queue_map_mqprio()1828 vsi->tc_config.enabled_tc = enabled_tc ? enabled_tc : 1; in i40e_vsi_setup_queue_map_mqprio()1842 if (vsi->tc_config.enabled_tc & BIT(i)) { in i40e_vsi_setup_queue_map_mqprio()1847 vsi->tc_config.tc_info[i].qoffset = offset; in i40e_vsi_setup_queue_map_mqprio()1848 vsi->tc_config.tc_info[i].qcount = qcount; in i40e_vsi_setup_queue_map_mqprio()1849 vsi->tc_config.tc_info[i].netdev_tc = netdev_tc++; in i40e_vsi_setup_queue_map_mqprio()1855 vsi->tc_config.tc_info[i].qoffset = 0; in i40e_vsi_setup_queue_map_mqprio()1856 vsi->tc_config.tc_info[i].qcount = 1; in i40e_vsi_setup_queue_map_mqprio()1857 vsi->tc_config.tc_info[i].netdev_tc = 0; in i40e_vsi_setup_queue_map_mqprio()1963 vsi->tc_config.numtc = numtc; in i40e_vsi_setup_queue_map()[all …]
469 vsi->tc_config.numtc, vsi->tc_config.enabled_tc); in i40e_dbg_dump_vsi_seid()473 i, vsi->tc_config.tc_info[i].qoffset, in i40e_dbg_dump_vsi_seid()474 vsi->tc_config.tc_info[i].qcount, in i40e_dbg_dump_vsi_seid()475 vsi->tc_config.tc_info[i].netdev_tc); in i40e_dbg_dump_vsi_seid()888 vsi->tc_config.enabled_tc); in i40e_dbg_command_write()
3692 if (vsi->tc_config.numtc == 1 || in i40e_lan_select_queue()3700 if (unlikely(!(vsi->tc_config.enabled_tc & BIT(tclass)))) in i40e_lan_select_queue()3704 qcount = vsi->tc_config.tc_info[tclass].qcount; in i40e_lan_select_queue()3707 qoffset = vsi->tc_config.tc_info[tclass].qoffset; in i40e_lan_select_queue()
56 if (!(vsi->tc_config.enabled_tc & BIT(tc))) in i40e_client_get_params()
909 if (tc_map & vsi->tc_config.enabled_tc) { in i40e_dcbnl_set_all()
906 struct i40e_tc_configuration tc_config; member