Searched refs:tc_config (Results 1 - 10 of 10) sorted by relevance

/linux-master/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_dcb.c85 p = &dcb_config->tc_config[i].path[direction];
107 p = &dcb_config->tc_config[i].path[direction];
152 dcb_config->tc_config[i].desc_credits_max =
164 struct tc_configuration *tc_config = &cfg->tc_config[0]; local
168 if (tc_config[tc].dcb_pfc != pfc_disabled)
176 struct tc_configuration *tc_config = &cfg->tc_config[0]; local
180 refill[tc] = tc_config[tc].path[direction].data_credits_refill;
185 struct tc_configuration *tc_config local
195 struct tc_configuration *tc_config = &cfg->tc_config[0]; local
205 struct tc_configuration *tc_config = &cfg->tc_config[0]; local
214 struct tc_configuration *tc_config = &cfg->tc_config[0]; local
[all...]
H A Dixgbe_dcb_nl.c43 src = &scfg->tc_config[i - DCB_PG_ATTR_TC_0];
44 dst = &dcfg->tc_config[i - DCB_PG_ATTR_TC_0];
105 if (dcfg->tc_config[j].dcb_pfc != scfg->tc_config[j].dcb_pfc) {
106 dcfg->tc_config[j].dcb_pfc = scfg->tc_config[j].dcb_pfc;
172 adapter->temp_dcb_cfg.tc_config[tc].path[0].prio_type = prio;
174 adapter->temp_dcb_cfg.tc_config[tc].path[0].bwg_id = bwg_id;
176 adapter->temp_dcb_cfg.tc_config[tc].path[0].bwg_percent =
179 adapter->temp_dcb_cfg.tc_config[t
[all...]
H A Dixgbe_dcb.h109 struct tc_configuration tc_config[MAX_TRAFFIC_CLASS]; member in struct:ixgbe_dcb_config
H A Dixgbe_main.c6297 tc = &adapter->dcb_cfg.tc_config[j];
6306 tc = &adapter->dcb_cfg.tc_config[0];
/linux-master/drivers/net/ethernet/intel/i40e/
H A Di40e_main.c1924 * i40e_vsi_setup_queue_map_mqprio - Prepares mqprio based tc_config
1929 * Prepares VSI tc_config to have queue configurations based on MQPRIO options.
1943 vsi->tc_config.numtc = vsi->mqprio_qopt.qopt.num_tc;
1944 vsi->tc_config.enabled_tc = enabled_tc ? enabled_tc : 1;
1958 if (vsi->tc_config.enabled_tc & BIT(i)) {
1963 vsi->tc_config.tc_info[i].qoffset = offset;
1964 vsi->tc_config.tc_info[i].qcount = qcount;
1965 vsi->tc_config.tc_info[i].netdev_tc = netdev_tc++;
1971 vsi->tc_config.tc_info[i].qoffset = 0;
1972 vsi->tc_config
[all...]
H A Di40e_debugfs.c450 " tc_config: numtc = %d, enabled_tc = 0x%x\n",
451 vsi->tc_config.numtc, vsi->tc_config.enabled_tc);
454 " tc_config: tc = %d, qoffset = %d, qcount = %d, netdev_tc = %d\n",
455 i, vsi->tc_config.tc_info[i].qoffset,
456 vsi->tc_config.tc_info[i].qcount,
457 vsi->tc_config.tc_info[i].netdev_tc);
863 enabled_tc = vsi->tc_config.enabled_tc;
H A Di40e_client.c55 if (!(vsi->tc_config.enabled_tc & BIT(tc)))
H A Di40e_dcb_nl.c905 if (tc_map & vsi->tc_config.enabled_tc) {
H A Di40e.h884 struct i40e_tc_configuration tc_config; member in struct:i40e_vsi
H A Di40e_txrx.c3792 if (vsi->tc_config.numtc == 1 ||
3800 if (unlikely(!(vsi->tc_config.enabled_tc & BIT(tclass))))
3804 qcount = vsi->tc_config.tc_info[tclass].qcount;
3807 qoffset = vsi->tc_config.tc_info[tclass].qoffset;

Completed in 387 milliseconds