| /linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/esw/diag/ |
| H A D | qos_tracepoint.h | 32 u32 bw_share, u32 max_rate), 33 TP_ARGS(dev, vport, bw_share, max_rate), 37 __field(unsigned int, bw_share) 44 __entry->bw_share = bw_share; 56 u32 bw_share, u32 max_rate), 57 TP_ARGS(dev, vport, bw_share, max_rate) 62 u32 bw_share, u32 max_rate), 63 TP_ARGS(dev, vport, bw_share, max_rate) 106 __field(unsigned int, bw_share) 112 __entry->bw_share = bw_share; [all …]
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | qos.c | 27 u32 bw_share, u32 max_avg_bw, u32 *id) in mlx5_qos_create_leaf_node() argument 39 MLX5_SET(scheduling_context, sched_ctx, bw_share, bw_share); in mlx5_qos_create_leaf_node() 47 u32 bw_share, u32 max_avg_bw, u32 *id) in mlx5_qos_create_inner_node() argument 63 MLX5_SET(scheduling_context, sched_ctx, bw_share, bw_share); in mlx5_qos_create_inner_node() 79 u32 bw_share, u32 max_avg_bw, u32 id) in mlx5_qos_update_node() argument 84 MLX5_SET(scheduling_context, sched_ctx, bw_share, bw_share); in mlx5_qos_update_node()
|
| H A D | qos.h | 22 u32 bw_share, u32 max_avg_bw, u32 *id); 24 u32 bw_share, u32 max_avg_bw, u32 *id); 26 int mlx5_qos_update_node(struct mlx5_core_dev *mdev, u32 bw_share,
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| H A D | htb.c | 13 u32 bw_share; member 255 struct mlx5e_qos_node *parent, u32 *bw_share) in mlx5e_htb_convert_rate() argument 268 *bw_share = share == 0 ? 1 : share > 100 ? 0 : share; in mlx5e_htb_convert_rate() 317 node->bw_share, node->max_average_bw, in mlx5e_htb_leaf_alloc_queue() 359 node->bw_share, node->max_average_bw, in mlx5e_htb_leaf_to_inner() 557 node->parent->bw_share, in mlx5e_htb_leaf_del_last() 630 u32 old_bw_share = child->bw_share; in mlx5e_htb_update_children() 637 if (child->bw_share == old_bw_share) in mlx5e_htb_update_children() 658 u32 bw_share, max_average_bw; in mlx5e_htb_node_modify() local 674 err = mlx5_qos_update_node(htb->mdev, bw_share, in mlx5e_htb_node_modify() [all …]
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
| H A D | qos.c | 80 u32 bw_share; member 202 if (node->max_rate == max_rate && node->bw_share == bw_share) in esw_qos_sched_elem_config() 209 if (node->bw_share != bw_share) { in esw_qos_sched_elem_config() 210 MLX5_SET(scheduling_context, sched_ctx, bw_share, bw_share); in esw_qos_sched_elem_config() 227 node->bw_share = bw_share; in esw_qos_sched_elem_config() 260 if (parent && parent->bw_share) in esw_qos_calculate_min_rate_divider() 281 u32 bw_share; in esw_qos_update_sched_node_bw_share() local 343 MLX5_SET(scheduling_context, tsar_ctx, bw_share, bw_share); in esw_qos_create_node_sched_elem() 565 vport_node->bw_share = 0; in esw_qos_vport_disable() 587 vport->qos.sched_node->bw_share); in esw_qos_vport_enable() [all …]
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | fw_qos.c | 73 __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()
|
| H A D | fw_qos.h | 51 u32 bw_share; member
|
| /linux-6.15/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/ |
| H A D | tracepoints.rst | 115 …136.838831: mlx5_esw_vport_qos_create: (0000:82:00.0) vport=2 tsar_ix=4 bw_share=0, max_rate=0 gro… 122 …754.223823: mlx5_esw_vport_qos_config: (0000:82:00.0) vport=1 tsar_ix=3 bw_share=34, max_rate=1000… 143 …5_esw_group_qos_config: (0000:82:00.0) group=000000008dac63ea tsar_ix=5 bw_share=100 max_rate=20000
|
| /linux-6.15/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_dcb.h | 256 void i40e_dcb_hw_rx_ets_bw_config(struct i40e_hw *hw, u8 *bw_share,
|
| H A D | i40e_dcb.c | 1503 void i40e_dcb_hw_rx_ets_bw_config(struct i40e_hw *hw, u8 *bw_share, in i40e_dcb_hw_rx_ets_bw_config() argument 1515 bw_share[i]); in i40e_dcb_hw_rx_ets_bw_config()
|
| H A D | i40e_main.c | 5604 u8 *bw_share) in i40e_vsi_configure_bw_alloc() argument 5625 bw_data.tc_bw_credits[i] = bw_share[i]; in i40e_vsi_configure_bw_alloc() 5783 u8 bw_share[I40E_MAX_TRAFFIC_CLASS] = {0}; in i40e_vsi_config_tc() local 5798 bw_share[i] = 1; in i40e_vsi_config_tc() 5801 ret = i40e_vsi_configure_bw_alloc(vsi, enabled_tc, bw_share); in i40e_vsi_config_tc() 5830 ret = i40e_vsi_configure_bw_alloc(vsi, enabled_tc, bw_share); in i40e_vsi_config_tc() 6345 u8 *bw_share) in i40e_channel_config_bw() argument 6354 bw_data.tc_bw_credits[i] = bw_share[i]; in i40e_channel_config_bw() 6384 u8 bw_share[I40E_MAX_TRAFFIC_CLASS] = {0}; in i40e_channel_config_tx_ring() local 6391 bw_share[i] = 1; in i40e_channel_config_tx_ring() [all …]
|
| /linux-6.15/include/linux/mlx5/ |
| H A D | mlx5_ifc.h | 4226 u8 bw_share[0x20]; member
|