Home
last modified time | relevance | path

Searched refs:ets_data (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_qdisc.c83 struct mlxsw_sp_qdisc_ets_data *ets_data; member
1264 kfree(mlxsw_sp_qdisc->ets_data); in __mlxsw_sp_qdisc_ets_destroy()
1265 mlxsw_sp_qdisc->ets_data = NULL; in __mlxsw_sp_qdisc_ets_destroy()
1327 struct mlxsw_sp_qdisc_ets_data *ets_data = mlxsw_sp_qdisc->ets_data; in __mlxsw_sp_qdisc_ets_replace() local
1334 if (!ets_data) { in __mlxsw_sp_qdisc_ets_replace()
1335 ets_data = kzalloc(sizeof(*ets_data), GFP_KERNEL); in __mlxsw_sp_qdisc_ets_replace()
1336 if (!ets_data) in __mlxsw_sp_qdisc_ets_replace()
1338 mlxsw_sp_qdisc->ets_data = ets_data; in __mlxsw_sp_qdisc_ets_replace()
1343 ets_band = &ets_data->bands[band]; in __mlxsw_sp_qdisc_ets_replace()
1352 ets_band = &ets_data->bands[band]; in __mlxsw_sp_qdisc_ets_replace()
[all …]
/linux-5.19.10/drivers/net/ethernet/intel/i40e/
Di40e_main.c6771 struct i40e_aqc_configure_switching_comp_ets_data ets_data; in i40e_hw_dcb_config() local
6804 memset(&ets_data, 0, sizeof(ets_data)); in i40e_hw_dcb_config()
6810 ets_data.tc_bw_share_credits[i] = in i40e_hw_dcb_config()
6816 ets_data.tc_bw_share_credits[i] = in i40e_hw_dcb_config()
6849 ets_data.tc_valid_bits = tc_map; in i40e_hw_dcb_config()
6850 ets_data.tc_strict_priority_flags = lltc_map; in i40e_hw_dcb_config()
6852 (hw, pf->mac_seid, &ets_data, in i40e_hw_dcb_config()
6945 struct i40e_aqc_configure_switching_comp_ets_data ets_data; in i40e_dcb_sw_default_config() local
6967 memset(&ets_data, 0, sizeof(ets_data)); in i40e_dcb_sw_default_config()
6968 ets_data.tc_valid_bits = I40E_DEFAULT_TRAFFIC_CLASS; /* TC0 only */ in i40e_dcb_sw_default_config()
[all …]
Di40e_prototype.h278 struct i40e_aqc_configure_switching_comp_ets_data *ets_data,
Di40e_common.c4117 struct i40e_aqc_configure_switching_comp_ets_data *ets_data, in i40e_aq_config_switch_comp_ets() argument
4121 return i40e_aq_tx_sched_cmd(hw, seid, (void *)ets_data, in i40e_aq_config_switch_comp_ets()
4122 sizeof(*ets_data), opcode, cmd_details); in i40e_aq_config_switch_comp_ets()