| /drivers/net/ethernet/mellanox/mlx5/core/steering/sws/ |
| A D | dr_ptrn.c | 26 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 D | dr_arg.c | 171 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 D | dr_types.h | 1019 u16 num_of_actions; member 1036 u16 num_of_actions; member 1325 u8 num_of_actions, 1492 u16 num_of_actions, 1495 u16 num_of_actions, u8 *actions_data); 1586 u16 num_of_actions, u8 *data); 1592 u16 num_of_actions,
|
| A D | dr_cmd.c | 366 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 D | dr_action.c | 832 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 D | dr_ste_v1.c | 365 u16 num_of_actions, in dr_ste_v1_set_accelerated_rewrite_actions() argument 378 number_of_modify_actions, num_of_actions); in dr_ste_v1_set_accelerated_rewrite_actions() 388 u16 num_of_actions, in dr_ste_v1_set_basic_rewrite_actions() argument 394 num_of_actions); in dr_ste_v1_set_basic_rewrite_actions() 403 u16 num_of_actions, in dr_ste_v1_set_rewrite_actions() argument 411 num_of_actions, in dr_ste_v1_set_rewrite_actions() 419 num_of_actions, in dr_ste_v1_set_rewrite_actions() 2106 action->rewrite->num_of_actions, in dr_ste_v1_alloc_modify_hdr_ptrn_arg() 2115 action->rewrite->num_of_actions, in dr_ste_v1_alloc_modify_hdr_ptrn_arg()
|
| A D | dr_send.c | 842 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 D | dr_dbg.c | 290 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 D | dr_ste_v0.c | 388 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 D | dr_ste.c | 644 chunk_size = ilog2(roundup_pow_of_two(action->rewrite->num_of_actions)); in dr_ste_alloc_modify_hdr_chunk()
|
| /drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
| A D | pat_arg.c | 101 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 166 u16 num_of_actions, in mlx5hws_pat_add_pattern_to_cache() argument 175 cached_pattern->mh_data.num_of_actions = num_of_actions; in mlx5hws_pat_add_pattern_to_cache() 250 num_of_actions, in mlx5hws_pat_get_pattern() 268 num_of_actions, in mlx5hws_pat_get_pattern() 303 u16 num_of_actions) in mlx5hws_arg_decapl3_write() argument 318 num_of_actions); in mlx5hws_arg_decapl3_write() [all …]
|
| A D | pat_arg.h | 32 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 D | action.h | 142 u8 num_of_actions; member 217 u16 num_of_actions); 269 u8 num_of_actions; in mlx5hws_action_apply_setter() local 281 num_of_actions = MLX5HWS_ACTION_STC_IDX_LAST_COMBO3; in mlx5hws_action_apply_setter() 294 num_of_actions = setter->set_double ? in mlx5hws_action_apply_setter() 305 num_of_actions = MLX5HWS_ACTION_STC_IDX_LAST_JUMBO_STE; in mlx5hws_action_apply_setter() 313 htonl(num_of_actions << 29); in mlx5hws_action_apply_setter()
|
| A D | action.c | 462 if (action->modify_header.num_of_actions == 1) { in hws_action_fill_stc_attr() 1002 int *num_of_actions) in hws_action_prepare_decap_l3_actions() argument 1043 *num_of_actions = actions; in hws_action_prepare_decap_l3_actions() 1055 int num_of_actions; in hws_action_handle_tunnel_l3_to_l2() local 1075 num_of_actions, in hws_action_handle_tunnel_l3_to_l2() 1094 action[i].modify_header.num_of_actions = num_of_actions; in hws_action_handle_tunnel_l3_to_l2() 2109 u16 num_of_actions, in hws_action_modify_write() argument 2116 new_arg_data = kcalloc(num_of_actions, in hws_action_modify_write() 2160 for (i = 0; i < num_of_actions - 3; i++) { in mlx5hws_action_prepare_decap_l3_data() 2265 action->modify_header.num_of_actions, in hws_action_setter_modify_header() [all …]
|
| A D | cmd.c | 664 int num_of_actions; in mlx5hws_cmd_header_modify_pattern_create() local 690 num_of_actions = pattern_length / MLX5HWS_MODIFY_ACTION_SIZE; in mlx5hws_cmd_header_modify_pattern_create() 691 for (i = 0; i < num_of_actions; i++) { in mlx5hws_cmd_header_modify_pattern_create()
|
| /drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
| A D | ipsec_fs.c | 1666 u8 num_of_actions = 1; in setup_modify_header() local 1674 num_of_actions++; in setup_modify_header() 1682 num_of_actions++; in setup_modify_header() 1705 modify_hdr = mlx5_modify_header_alloc(mdev, ns_type, num_of_actions, action); in setup_modify_header()
|
| /drivers/net/ethernet/mellanox/mlx5/core/ |
| A D | fs_cmd.c | 1004 MLX5_SET(alloc_modify_header_context_in, in, num_of_actions, num_actions); in mlx5_cmd_modify_header_alloc()
|