/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | qos.c | 27 u32 bw_share, u32 max_avg_bw, u32 *id) 34 MLX5_SET(scheduling_context, sched_ctx, bw_share, bw_share); 42 u32 bw_share, u32 max_avg_bw, u32 *id) 50 MLX5_SET(scheduling_context, sched_ctx, bw_share, bw_share); 66 u32 bw_share, u32 max_avg_bw, u32 id) 71 MLX5_SET(scheduling_context, sched_ctx, bw_share, bw_share); 26 mlx5_qos_create_leaf_node(struct mlx5_core_dev *mdev, u32 parent_id, u32 bw_share, u32 max_avg_bw, u32 *id) argument 41 mlx5_qos_create_inner_node(struct mlx5_core_dev *mdev, u32 parent_id, u32 bw_share, u32 max_avg_bw, u32 *id) argument 65 mlx5_qos_update_node(struct mlx5_core_dev *mdev, u32 bw_share, u32 max_avg_bw, u32 id) argument
|
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,
|
H A D | eswitch.h | 218 u32 bw_share; member in struct:mlx5_vport::__anon1489
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/esw/diag/ |
H A D | qos_tracepoint.h | 30 TP_PROTO(const struct mlx5_vport *vport, u32 bw_share, u32 max_rate), 31 TP_ARGS(vport, bw_share, max_rate), 35 __field(unsigned int, bw_share) 42 __entry->bw_share = bw_share; 46 TP_printk("(%s) vport=%hu tsar_ix=%u bw_share=%u, max_rate=%u group=%p\n", 48 __entry->bw_share, __entry->max_rate, __entry->group 53 TP_PROTO(const struct mlx5_vport *vport, u32 bw_share, u32 max_rate), 54 TP_ARGS(vport, bw_share, max_rate) 58 TP_PROTO(const struct mlx5_vport *vport, u32 bw_share, u3 [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
H A D | qos.c | 21 u32 bw_share; member in struct:mlx5_esw_rate_group 26 u32 tsar_ix, u32 max_rate, u32 bw_share) 34 MLX5_SET(scheduling_context, sched_ctx, bw_share, bw_share); 46 u32 max_rate, u32 bw_share, struct netlink_ext_ack *extack) 54 max_rate, bw_share); 58 trace_mlx5_esw_group_qos_config(dev, group, group->tsar_ix, bw_share, max_rate); 65 u32 max_rate, u32 bw_share, 76 max_rate, bw_share); 85 trace_mlx5_esw_vport_qos_config(vport, bw_share, max_rat 25 esw_qos_tsar_config(struct mlx5_core_dev *dev, u32 *sched_ctx, u32 tsar_ix, u32 max_rate, u32 bw_share) argument 45 esw_qos_group_config(struct mlx5_eswitch *esw, struct mlx5_esw_rate_group *group, u32 max_rate, u32 bw_share, struct netlink_ext_ack *extack) argument 63 esw_qos_vport_config(struct mlx5_eswitch *esw, struct mlx5_vport *vport, u32 max_rate, u32 bw_share, struct netlink_ext_ack *extack) argument 143 u32 bw_share; local 169 u32 bw_share; local 315 esw_qos_vport_create_sched_element(struct mlx5_eswitch *esw, struct mlx5_vport *vport, u32 max_rate, u32 bw_share) argument 635 esw_qos_vport_enable(struct mlx5_eswitch *esw, struct mlx5_vport *vport, u32 max_rate, u32 bw_share, struct netlink_ext_ack *extack) argument [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx4/ |
H A D | fw_qos.h | 51 u32 bw_share; member in struct:mlx4_vport_qos_param
|
H A D | fw_qos.c | 73 __be32 bw_share; member in struct:mlx4_prio_qos_param 244 out_param[i].bw_share = be32_to_cpu(ctx->qos_p_up[i].bw_share); 273 ctx->qos_p_up[i].bw_share = cpu_to_be32(in_param[i].bw_share);
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | htb.c | 13 u32 bw_share; member in struct:mlx5e_qos_node 255 struct mlx5e_qos_node *parent, u32 *bw_share) 268 *bw_share = share == 0 ? 1 : share > 100 ? 0 : share; 270 qos_dbg(htb->mdev, "Convert: rate %llu, parent ceil %llu -> bw_share %u\n", 271 rate, (u64)parent->max_average_bw * BYTES_IN_MBIT, *bw_share); 313 mlx5e_htb_convert_rate(htb, rate, node->parent, &node->bw_share); 317 node->bw_share, node->max_average_bw, 359 node->bw_share, node->max_average_bw, 376 mlx5e_htb_convert_rate(htb, rate, node, &child->bw_share); 379 err = mlx5_qos_create_leaf_node(htb->mdev, new_hw_id, child->bw_share, 254 mlx5e_htb_convert_rate(struct mlx5e_htb *htb, u64 rate, struct mlx5e_qos_node *parent, u32 *bw_share) argument 658 u32 bw_share, max_average_bw; local [all...] |
/linux-master/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_dcb.h | 257 void i40e_dcb_hw_rx_ets_bw_config(struct i40e_hw *hw, u8 *bw_share,
|
H A D | i40e_dcb.c | 1509 * @bw_share: Bandwidth share indexed per traffic class 1516 void i40e_dcb_hw_rx_ets_bw_config(struct i40e_hw *hw, u8 *bw_share, argument 1528 bw_share[i]);
|
H A D | i40e_main.c | 5613 * @bw_share: BW shared credits per TC 5618 u8 *bw_share) 5639 bw_data.tc_bw_credits[i] = bw_share[i]; 5797 u8 bw_share[I40E_MAX_TRAFFIC_CLASS] = {0}; local 5812 bw_share[i] = 1; 5815 ret = i40e_vsi_configure_bw_alloc(vsi, enabled_tc, bw_share); 5844 ret = i40e_vsi_configure_bw_alloc(vsi, enabled_tc, bw_share); 6337 u8 *bw_share) 6346 bw_data.tc_bw_credits[i] = bw_share[i]; 6376 u8 bw_share[I40E_MAX_TRAFFIC_CLAS local 5617 i40e_vsi_configure_bw_alloc(struct i40e_vsi *vsi, u8 enabled_tc, u8 *bw_share) argument 6336 i40e_channel_config_bw(struct i40e_vsi *vsi, struct i40e_channel *ch, u8 *bw_share) argument [all...] |
/linux-master/include/linux/mlx5/ |
H A D | mlx5_ifc.h | 3902 u8 bw_share[0x20]; member in struct:mlx5_ifc_scheduling_context_bits
|