Home
last modified time | relevance | path

Searched refs:num_of_actions (Results 1 – 18 of 18) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
A Ddr_ptrn.c26 size_t num_of_actions, in dr_ptrn_compare_modify_hdr() argument
31 if (cur_num_of_actions != num_of_actions) in dr_ptrn_compare_modify_hdr()
34 for (i = 0; i < num_of_actions; i++) { in dr_ptrn_compare_modify_hdr()
53 size_t num_of_actions, in dr_ptrn_find_cached_pattern() argument
62 num_of_actions, in dr_ptrn_find_cached_pattern()
78 u16 num_of_actions, u8 *data) in dr_ptrn_alloc_pattern() argument
109 pattern->num_of_actions = num_of_actions; in dr_ptrn_alloc_pattern()
134 u16 num_of_actions, in mlx5dr_ptrn_cache_get_pattern() argument
144 num_of_actions, in mlx5dr_ptrn_cache_get_pattern()
156 for (i = 0; i < num_of_actions; i++) { in mlx5dr_ptrn_cache_get_pattern()
[all …]
A Ddr_arg.c171 static enum dr_arg_chunk_size dr_arg_get_chunk_size(u16 num_of_actions) in dr_arg_get_chunk_size() argument
173 if (num_of_actions <= 8) in dr_arg_get_chunk_size()
175 if (num_of_actions <= 16) in dr_arg_get_chunk_size()
177 if (num_of_actions <= 32) in dr_arg_get_chunk_size()
179 if (num_of_actions <= 64) in dr_arg_get_chunk_size()
191 u16 num_of_actions, in mlx5dr_arg_get_obj() argument
194 u32 size = dr_arg_get_chunk_size(num_of_actions); in mlx5dr_arg_get_obj()
210 num_of_actions, data); in mlx5dr_arg_get_obj()
A Ddr_types.h1019 u16 num_of_actions; member
1036 u16 num_of_actions; member
1325 u8 num_of_actions,
1493 u16 num_of_actions,
1496 u16 num_of_actions, u8 *actions_data);
1587 u16 num_of_actions, u8 *data);
1593 u16 num_of_actions,
A Ddr_cmd.c366 u8 num_of_actions, in mlx5dr_cmd_alloc_modify_header() argument
377 num_of_actions * sizeof(u64); in mlx5dr_cmd_alloc_modify_header()
385 MLX5_SET(alloc_modify_header_context_in, in, num_of_actions, num_of_actions); in mlx5dr_cmd_alloc_modify_header()
387 memcpy(p_actions, actions, num_of_actions * sizeof(u64)); in mlx5dr_cmd_alloc_modify_header()
A Ddr_action.c832 attr.decap_actions = action->rewrite->ptrn->num_of_actions; in mlx5dr_actions_build_ste_arr()
836 attr.decap_actions = action->rewrite->num_of_actions; in mlx5dr_actions_build_ste_arr()
844 attr.modify_actions = action->rewrite->num_of_actions; in mlx5dr_actions_build_ste_arr()
850 attr.modify_actions = action->rewrite->ptrn->num_of_actions; in mlx5dr_actions_build_ste_arr()
854 attr.modify_actions = action->rewrite->num_of_actions; in mlx5dr_actions_build_ste_arr()
1469 &action->rewrite->num_of_actions); in dr_action_create_reformat_action()
2045 action->rewrite->num_of_actions = num_hw_actions; in dr_action_create_modify_action()
A Ddr_ste_v1.c500 u16 num_of_actions, in dr_ste_v1_set_accelerated_rewrite_actions() argument
513 number_of_modify_actions, num_of_actions); in dr_ste_v1_set_accelerated_rewrite_actions()
523 u16 num_of_actions, in dr_ste_v1_set_basic_rewrite_actions() argument
529 num_of_actions); in dr_ste_v1_set_basic_rewrite_actions()
538 u16 num_of_actions, in dr_ste_v1_set_rewrite_actions() argument
546 num_of_actions, in dr_ste_v1_set_rewrite_actions()
554 num_of_actions, in dr_ste_v1_set_rewrite_actions()
2242 action->rewrite->num_of_actions, in dr_ste_v1_alloc_modify_hdr_ptrn_arg()
2251 action->rewrite->num_of_actions, in dr_ste_v1_alloc_modify_hdr_ptrn_arg()
A Ddr_send.c842 send_info.write.length = action->rewrite->num_of_actions * in mlx5dr_send_postsend_action()
854 u16 num_of_actions, in mlx5dr_send_postsend_pattern() argument
861 send_info.write.length = num_of_actions * DR_MODIFY_ACTION_SIZE; in mlx5dr_send_postsend_pattern()
873 u16 num_of_actions, u8 *actions_data) in mlx5dr_send_postsend_args() argument
880 data_len = num_of_actions * DR_MODIFY_ACTION_SIZE; in mlx5dr_send_postsend_args()
A Ddr_dbg.c290 ptrn_arg ? action->rewrite->num_of_actions : 0, in dr_dump_rule_action_mem()
301 for (i = 0; i < action->rewrite->num_of_actions; i++) { in dr_dump_rule_action_mem()
A Ddr_ste_v0.c388 static void dr_ste_v0_set_rewrite_actions(u8 *hw_ste_p, u16 num_of_actions, in dr_ste_v0_set_rewrite_actions() argument
392 num_of_actions); in dr_ste_v0_set_rewrite_actions()
A Ddr_ste.c644 chunk_size = ilog2(roundup_pow_of_two(action->rewrite->num_of_actions)); in dr_ste_alloc_modify_hdr_chunk()
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
A Dmlx5hws_pat_arg.c101 int num_of_actions, in mlx5hws_pat_compare_pattern() argument
130 u16 num_of_actions, in mlx5hws_pat_find_cached_pattern() argument
138 num_of_actions, in mlx5hws_pat_find_cached_pattern()
148 u16 num_of_actions, in mlx5hws_pat_get_existing_cached_pattern() argument
167 u16 num_of_actions, in mlx5hws_pat_add_pattern_to_cache() argument
176 cached_pattern->mh_data.num_of_actions = num_of_actions; in mlx5hws_pat_add_pattern_to_cache()
251 num_of_actions, in mlx5hws_pat_get_pattern()
269 num_of_actions, in mlx5hws_pat_get_pattern()
304 u16 num_of_actions) in mlx5hws_arg_decapl3_write() argument
319 num_of_actions); in mlx5hws_arg_decapl3_write()
[all …]
A Dmlx5hws_pat_arg.h32 u16 num_of_actions; member
39 mlx5hws_arg_get_arg_log_size(u16 num_of_actions);
41 u32 mlx5hws_arg_get_arg_size(u16 num_of_actions);
65 u8 num_of_actions,
81 bool mlx5hws_pat_require_reparse(__be64 *actions, u16 num_of_actions);
92 u16 num_of_actions);
A Dmlx5hws_action.h136 u8 num_of_actions; member
208 u16 num_of_actions);
260 u8 num_of_actions; in mlx5hws_action_apply_setter() local
272 num_of_actions = MLX5HWS_ACTION_STC_IDX_LAST_COMBO3; in mlx5hws_action_apply_setter()
285 num_of_actions = setter->set_double ? in mlx5hws_action_apply_setter()
296 num_of_actions = MLX5HWS_ACTION_STC_IDX_LAST_JUMBO_STE; in mlx5hws_action_apply_setter()
304 htonl(num_of_actions << 29); in mlx5hws_action_apply_setter()
A Dmlx5hws_action.c460 if (action->modify_header.num_of_actions == 1) { in hws_action_fill_stc_attr()
999 int *num_of_actions) in hws_action_prepare_decap_l3_actions() argument
1040 *num_of_actions = actions; in hws_action_prepare_decap_l3_actions()
1052 int num_of_actions; in hws_action_handle_tunnel_l3_to_l2() local
1072 num_of_actions, in hws_action_handle_tunnel_l3_to_l2()
1091 action[i].modify_header.num_of_actions = num_of_actions; in hws_action_handle_tunnel_l3_to_l2()
2067 u16 num_of_actions, in hws_action_modify_write() argument
2074 new_arg_data = kcalloc(num_of_actions, in hws_action_modify_write()
2116 for (i = 0; i < num_of_actions - 3; i++) { in mlx5hws_action_prepare_decap_l3_data()
2218 action->modify_header.num_of_actions, in hws_action_setter_modify_header()
[all …]
A Dmlx5hws_cmd.c665 int num_of_actions; in mlx5hws_cmd_header_modify_pattern_create() local
691 num_of_actions = pattern_length / MLX5HWS_MODIFY_ACTION_SIZE; in mlx5hws_cmd_header_modify_pattern_create()
692 for (i = 0; i < num_of_actions; i++) { in mlx5hws_cmd_header_modify_pattern_create()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
A Dipsec_fs.c1322 u8 num_of_actions = 1; in setup_modify_header() local
1330 num_of_actions++; in setup_modify_header()
1338 num_of_actions++; in setup_modify_header()
1360 modify_hdr = mlx5_modify_header_alloc(mdev, ns_type, num_of_actions, action); in setup_modify_header()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
A Dfs_cmd.c1005 MLX5_SET(alloc_modify_header_context_in, in, num_of_actions, num_actions); in mlx5_cmd_modify_header_alloc()
/linux/include/linux/mlx5/
A Dmlx5_ifc.h7157 u8 num_of_actions[0x8]; member

Completed in 137 milliseconds