Searched refs:scheduling_context (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | qos.c | 29 u32 sched_ctx[MLX5_ST_SZ_DW(scheduling_context)] = {0}; in mlx5_qos_create_leaf_node() 34 MLX5_SET(scheduling_context, sched_ctx, parent_element_id, parent_id); in mlx5_qos_create_leaf_node() 35 MLX5_SET(scheduling_context, sched_ctx, element_type, in mlx5_qos_create_leaf_node() 37 MLX5_SET(scheduling_context, sched_ctx, bw_share, bw_share); in mlx5_qos_create_leaf_node() 38 MLX5_SET(scheduling_context, sched_ctx, max_average_bw, max_avg_bw); in mlx5_qos_create_leaf_node() 47 u32 sched_ctx[MLX5_ST_SZ_DW(scheduling_context)] = {0}; in mlx5_qos_create_inner_node() 54 MLX5_SET(scheduling_context, sched_ctx, parent_element_id, parent_id); in mlx5_qos_create_inner_node() 55 MLX5_SET(scheduling_context, sched_ctx, element_type, in mlx5_qos_create_inner_node() 57 MLX5_SET(scheduling_context, sched_ctx, bw_share, bw_share); in mlx5_qos_create_inner_node() 58 MLX5_SET(scheduling_context, sched_ctx, max_average_bw, max_avg_bw); in mlx5_qos_create_inner_node() [all …]
|
H A D | rl.c | 47 scheduling_context); in mlx5_create_scheduling_element_cmd() 52 memcpy(schedc, ctx, MLX5_ST_SZ_BYTES(scheduling_context)); in mlx5_create_scheduling_element_cmd() 71 scheduling_context); in mlx5_modify_scheduling_element_cmd() 80 memcpy(schedc, ctx, MLX5_ST_SZ_BYTES(scheduling_context)); in mlx5_modify_scheduling_element_cmd()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
H A D | qos.c | 33 MLX5_SET(scheduling_context, sched_ctx, max_average_bw, max_rate); in esw_qos_tsar_config() 34 MLX5_SET(scheduling_context, sched_ctx, bw_share, bw_share); in esw_qos_tsar_config() 48 u32 sched_ctx[MLX5_ST_SZ_DW(scheduling_context)] = {}; in esw_qos_group_config() 68 u32 sched_ctx[MLX5_ST_SZ_DW(scheduling_context)] = {}; in esw_qos_vport_config() 338 u32 sched_ctx[MLX5_ST_SZ_DW(scheduling_context)] = {}; in esw_qos_vport_create_sched_element() 349 MLX5_SET(scheduling_context, sched_ctx, element_type, in esw_qos_vport_create_sched_element() 351 vport_elem = MLX5_ADDR_OF(scheduling_context, sched_ctx, element_attributes); in esw_qos_vport_create_sched_element() 353 MLX5_SET(scheduling_context, sched_ctx, parent_element_id, parent_tsar_ix); in esw_qos_vport_create_sched_element() 354 MLX5_SET(scheduling_context, sched_ctx, max_average_bw, max_rate); in esw_qos_vport_create_sched_element() 355 MLX5_SET(scheduling_context, sched_ctx, bw_share, bw_share); in esw_qos_vport_create_sched_element() [all …]
|
/linux/include/linux/mlx5/ |
H A D | mlx5_ifc.h | 5638 struct mlx5_ifc_scheduling_context_bits scheduling_context; member 7642 struct mlx5_ifc_scheduling_context_bits scheduling_context; member 9035 struct mlx5_ifc_scheduling_context_bits scheduling_context; member
|