Home
last modified time | relevance | path

Searched refs:bw_share (Results 1 – 5 of 5) sorted by relevance

/drivers/net/ethernet/mellanox/mlx4/
Dfw_qos.c73 __be32 bw_share; member
244 out_param[i].bw_share = be32_to_cpu(ctx->qos_p_up[i].bw_share); in mlx4_SET_VPORT_QOS_get()
273 ctx->qos_p_up[i].bw_share = cpu_to_be32(in_param[i].bw_share); in mlx4_SET_VPORT_QOS_set()
Dfw_qos.h51 u32 bw_share; member
/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch.c1062 MLX5_SET(scheduling_context, sched_ctx, bw_share, initial_bw_share); in esw_vport_enable_qos()
1098 u32 max_rate, u32 bw_share) in esw_vport_qos_config() argument
1121 MLX5_SET(scheduling_context, sched_ctx, bw_share, bw_share); in esw_vport_qos_config()
1236 esw_vport_enable_qos(esw, vport, vport->info.max_rate, vport->qos.bw_share); in esw_vport_setup()
2248 u32 bw_share; in normalize_vports_min_rate() local
2257 bw_share = 0; in normalize_vports_min_rate()
2260 bw_share = MLX5_RATE_TO_BW_SHARE(vport_min_rate, in normalize_vports_min_rate()
2264 if (bw_share == evport->qos.bw_share) in normalize_vports_min_rate()
2268 bw_share); in normalize_vports_min_rate()
2270 evport->qos.bw_share = bw_share; in normalize_vports_min_rate()
[all …]
Deswitch.h154 u32 bw_share; member
/drivers/net/ethernet/intel/i40e/
Di40e_main.c5411 u8 *bw_share) in i40e_vsi_configure_bw_alloc() argument
5431 bw_data.tc_bw_credits[i] = bw_share[i]; in i40e_vsi_configure_bw_alloc()
5589 u8 bw_share[I40E_MAX_TRAFFIC_CLASS] = {0}; in i40e_vsi_config_tc() local
5604 bw_share[i] = 1; in i40e_vsi_config_tc()
5607 ret = i40e_vsi_configure_bw_alloc(vsi, enabled_tc, bw_share); in i40e_vsi_config_tc()
5636 ret = i40e_vsi_configure_bw_alloc(vsi, enabled_tc, bw_share); in i40e_vsi_config_tc()
6129 u8 *bw_share) in i40e_channel_config_bw() argument
6137 bw_data.tc_bw_credits[i] = bw_share[i]; in i40e_channel_config_bw()
6169 u8 bw_share[I40E_MAX_TRAFFIC_CLASS] = {0}; in i40e_channel_config_tx_ring() local
6174 bw_share[i] = 1; in i40e_channel_config_tx_ring()
[all …]