Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dqos.c29 u32 sched_ctx[MLX5_ST_SZ_DW(scheduling_context)] = {0}; in mlx5_qos_create_leaf_node() local
36 MLX5_SET(scheduling_context, sched_ctx, parent_element_id, parent_id); in mlx5_qos_create_leaf_node()
37 MLX5_SET(scheduling_context, sched_ctx, element_type, in mlx5_qos_create_leaf_node()
39 MLX5_SET(scheduling_context, sched_ctx, bw_share, bw_share); in mlx5_qos_create_leaf_node()
40 MLX5_SET(scheduling_context, sched_ctx, max_average_bw, max_avg_bw); in mlx5_qos_create_leaf_node()
43 sched_ctx, id); in mlx5_qos_create_leaf_node()
49 u32 sched_ctx[MLX5_ST_SZ_DW(scheduling_context)] = {0}; in mlx5_qos_create_inner_node() local
60 MLX5_SET(scheduling_context, sched_ctx, parent_element_id, parent_id); in mlx5_qos_create_inner_node()
61 MLX5_SET(scheduling_context, sched_ctx, element_type, in mlx5_qos_create_inner_node()
63 MLX5_SET(scheduling_context, sched_ctx, bw_share, bw_share); in mlx5_qos_create_inner_node()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dqos.c260 u32 sched_ctx[MLX5_ST_SZ_DW(scheduling_context)] = {}; in esw_qos_sched_elem_config() local
276 MLX5_SET(scheduling_context, sched_ctx, max_average_bw, max_rate); in esw_qos_sched_elem_config()
280 MLX5_SET(scheduling_context, sched_ctx, bw_share, bw_share); in esw_qos_sched_elem_config()
286 sched_ctx, in esw_qos_sched_elem_config()
309 u32 sched_ctx[MLX5_ST_SZ_DW(scheduling_context)] = {}; in esw_qos_create_rate_limit_element() local
317 MLX5_SET(scheduling_context, sched_ctx, max_average_bw, node->max_rate); in esw_qos_create_rate_limit_element()
318 MLX5_SET(scheduling_context, sched_ctx, element_type, in esw_qos_create_rate_limit_element()
321 return esw_qos_node_create_sched_element(node, sched_ctx, extack); in esw_qos_create_rate_limit_element()
461 u32 sched_ctx[MLX5_ST_SZ_DW(scheduling_context)] = {}; in esw_qos_vport_create_sched_element() local
471 MLX5_SET(scheduling_context, sched_ctx, element_type, in esw_qos_vport_create_sched_element()
[all …]