Home
last modified time | relevance | path

Searched refs:sched_ctx (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/
Dqos.c29 u32 sched_ctx[MLX5_ST_SZ_DW(scheduling_context)] = {0}; in mlx5_qos_create_leaf_node() local
31 MLX5_SET(scheduling_context, sched_ctx, parent_element_id, parent_id); in mlx5_qos_create_leaf_node()
32 MLX5_SET(scheduling_context, sched_ctx, element_type, in mlx5_qos_create_leaf_node()
34 MLX5_SET(scheduling_context, sched_ctx, bw_share, bw_share); in mlx5_qos_create_leaf_node()
35 MLX5_SET(scheduling_context, sched_ctx, max_average_bw, max_avg_bw); in mlx5_qos_create_leaf_node()
38 sched_ctx, id); in mlx5_qos_create_leaf_node()
44 u32 sched_ctx[MLX5_ST_SZ_DW(scheduling_context)] = {0}; in mlx5_qos_create_inner_node() local
47 MLX5_SET(scheduling_context, sched_ctx, parent_element_id, parent_id); in mlx5_qos_create_inner_node()
48 MLX5_SET(scheduling_context, sched_ctx, element_type, in mlx5_qos_create_inner_node()
50 MLX5_SET(scheduling_context, sched_ctx, bw_share, bw_share); in mlx5_qos_create_inner_node()
[all …]
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dqos.c24 static int esw_qos_tsar_config(struct mlx5_core_dev *dev, u32 *sched_ctx, in esw_qos_tsar_config() argument
33 MLX5_SET(scheduling_context, sched_ctx, parent_element_id, parent_ix); in esw_qos_tsar_config()
34 MLX5_SET(scheduling_context, sched_ctx, max_average_bw, max_rate); in esw_qos_tsar_config()
35 MLX5_SET(scheduling_context, sched_ctx, bw_share, bw_share); in esw_qos_tsar_config()
41 sched_ctx, in esw_qos_tsar_config()
49 u32 sched_ctx[MLX5_ST_SZ_DW(scheduling_context)] = {}; in esw_qos_group_config() local
53 err = esw_qos_tsar_config(dev, sched_ctx, in esw_qos_group_config()
69 u32 sched_ctx[MLX5_ST_SZ_DW(scheduling_context)] = {}; in esw_qos_vport_config() local
80 MLX5_SET(scheduling_context, sched_ctx, element_type, in esw_qos_vport_config()
82 vport_elem = MLX5_ADDR_OF(scheduling_context, sched_ctx, in esw_qos_vport_config()
[all …]
/Linux-v6.1/drivers/gpu/drm/lima/
Dlima_sched.c276 struct lima_sched_context *sched_ctx = in lima_sched_build_error_task_list() local
280 container_of(sched_ctx, struct lima_ctx, context[pipe_id]); in lima_sched_build_error_task_list()