Searched refs:tc_config (Results 1 - 10 of 10) sorted by last modified time

/linux-master/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_main.c6297 tc = &adapter->dcb_cfg.tc_config[j];
6306 tc = &adapter->dcb_cfg.tc_config[0];
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.h109 struct tc_configuration tc_config[MAX_TRAFFIC_CLASS]; member in struct:ixgbe_dcb_config
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...]
/linux-master/drivers/net/ethernet/intel/i40e/
H A Di40e_txrx.c3754 if (vsi->tc_config.numtc == 1 ||
3762 if (unlikely(!(vsi->tc_config.enabled_tc & BIT(tclass))))
3766 qcount = vsi->tc_config.tc_info[tclass].qcount;
3769 qoffset = vsi->tc_config.tc_info[tclass].qoffset;
H A Di40e_main.c1925 * i40e_vsi_setup_queue_map_mqprio - Prepares mqprio based tc_config
1930 * Prepares VSI tc_config to have queue configurations based on MQPRIO options.
1944 vsi->tc_config.numtc = vsi->mqprio_qopt.qopt.num_tc;
1945 vsi->tc_config.enabled_tc = enabled_tc ? enabled_tc : 1;
1959 if (vsi->tc_config.enabled_tc & BIT(i)) {
1964 vsi->tc_config.tc_info[i].qoffset = offset;
1965 vsi->tc_config.tc_info[i].qcount = qcount;
1966 vsi->tc_config.tc_info[i].netdev_tc = netdev_tc++;
1972 vsi->tc_config.tc_info[i].qoffset = 0;
1973 vsi->tc_config
[all...]
H A Di40e_debugfs.c451 " tc_config: numtc = %d, enabled_tc = 0x%x\n",
452 vsi->tc_config.numtc, vsi->tc_config.enabled_tc);
455 " tc_config: tc = %d, qoffset = %d, qcount = %d, netdev_tc = %d\n",
456 i, vsi->tc_config.tc_info[i].qoffset,
457 vsi->tc_config.tc_info[i].qcount,
458 vsi->tc_config.tc_info[i].netdev_tc);
865 enabled_tc = vsi->tc_config.enabled_tc;
H A Di40e_client.c55 if (!(vsi->tc_config.enabled_tc & BIT(tc)))
H A Di40e.h883 struct i40e_tc_configuration tc_config; member in struct:i40e_vsi
H A Di40e_dcb_nl.c905 if (tc_map & vsi->tc_config.enabled_tc) {

Completed in 282 milliseconds