Home
last modified time | relevance | path

Searched refs:scheduling_context (Results 1 – 3 of 3) 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()
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()
49 u32 sched_ctx[MLX5_ST_SZ_DW(scheduling_context)] = {0}; in mlx5_qos_create_inner_node()
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()
64 MLX5_SET(scheduling_context, sched_ctx, max_average_bw, max_avg_bw); in mlx5_qos_create_inner_node()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dqos.c175 u32 sched_ctx[MLX5_ST_SZ_DW(scheduling_context)] = {}; in esw_qos_sched_elem_config()
191 MLX5_SET(scheduling_context, sched_ctx, max_average_bw, max_rate); in esw_qos_sched_elem_config()
195 MLX5_SET(scheduling_context, sched_ctx, bw_share, bw_share); in esw_qos_sched_elem_config()
311 u32 tsar_ctx[MLX5_ST_SZ_DW(scheduling_context)] = {}; in esw_qos_create_node_sched_elem()
322 MLX5_SET(scheduling_context, tsar_ctx, element_type, in esw_qos_create_node_sched_elem()
324 MLX5_SET(scheduling_context, tsar_ctx, parent_element_id, in esw_qos_create_node_sched_elem()
326 attr = MLX5_ADDR_OF(scheduling_context, tsar_ctx, element_attributes); in esw_qos_create_node_sched_elem()
338 u32 sched_ctx[MLX5_ST_SZ_DW(scheduling_context)] = {}; in esw_qos_vport_create_sched_element()
347 MLX5_SET(scheduling_context, sched_ctx, element_type, in esw_qos_vport_create_sched_element()
349 attr = MLX5_ADDR_OF(scheduling_context, sched_ctx, element_attributes); in esw_qos_vport_create_sched_element()
[all …]
/linux/include/linux/mlx5/
H A Dmlx5_ifc.h5711 struct mlx5_ifc_scheduling_context_bits scheduling_context; member
7720 struct mlx5_ifc_scheduling_context_bits scheduling_context; member
9113 struct mlx5_ifc_scheduling_context_bits scheduling_context; member