Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dpat_arg.c28 mlx5hws_arg_get_arg_log_size(u16 num_of_actions) in mlx5hws_arg_get_arg_log_size() argument
30 return mlx5hws_arg_data_size_to_arg_log_size(num_of_actions * in mlx5hws_arg_get_arg_log_size()
34 u32 mlx5hws_arg_get_arg_size(u16 num_of_actions) in mlx5hws_arg_get_arg_size() argument
36 return BIT(mlx5hws_arg_get_arg_log_size(num_of_actions)); in mlx5hws_arg_get_arg_size()
39 bool mlx5hws_pat_require_reparse(__be64 *actions, u16 num_of_actions) in mlx5hws_pat_require_reparse() argument
44 for (i = 0; i < num_of_actions; i++) { in mlx5hws_pat_require_reparse()
101 int num_of_actions, in mlx5hws_pat_compare_pattern() argument
106 if (cur_num_of_actions != num_of_actions) in mlx5hws_pat_compare_pattern()
109 for (i = 0; i < num_of_actions; i++) { in mlx5hws_pat_compare_pattern()
130 u16 num_of_actions, in mlx5hws_pat_find_cached_pattern() argument
[all …]
H A Daction.c462 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
1068 hws_action_prepare_decap_l3_actions(hdrs->sz, mh_data, &num_of_actions); in hws_action_handle_tunnel_l3_to_l2()
1070 mlx5hws_action_prepare_decap_l3_data(hdrs->data, mh_data, num_of_actions); in hws_action_handle_tunnel_l3_to_l2()
1075 num_of_actions, in hws_action_handle_tunnel_l3_to_l2()
1084 hws_action_prepare_decap_l3_actions(hdrs[i].sz, mh_data, &num_of_actions); in hws_action_handle_tunnel_l3_to_l2()
1085 mh_data_size = num_of_actions * MLX5HWS_MODIFY_ACTION_SIZE; in hws_action_handle_tunnel_l3_to_l2()
1093 action[i].modify_header.max_num_of_actions = num_of_actions; in hws_action_handle_tunnel_l3_to_l2()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/
H A Ddr_types.h1019 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,
H A Ddr_ste_v1.c365 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()
H 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()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec_fs.c1695 u8 num_of_actions = 1; in setup_modify_header() local
1703 num_of_actions++; in setup_modify_header()
1711 num_of_actions++; in setup_modify_header()
1734 modify_hdr = mlx5_modify_header_alloc(mdev, ns_type, num_of_actions, action); in setup_modify_header()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfs_cmd.c1035 MLX5_SET(alloc_modify_header_context_in, in, num_of_actions, num_actions); in mlx5_cmd_modify_header_alloc()
/linux/include/linux/mlx5/
H A Dmlx5_ifc.h7359 u8 num_of_actions[0x8]; member