Home
last modified time | relevance | path

Searched refs:action_type (Results 1 – 24 of 24) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dpat_arg.c45 action_id = MLX5_GET(set_action_in, &actions[i], action_type); in mlx5hws_pat_require_reparse()
111 MLX5_GET(set_action_in, &actions[i], action_type); in mlx5hws_pat_compare_pattern()
478 hws_action_modify_check_field_limitation(u8 action_type, __be64 *pattern) in hws_action_modify_check_field_limitation() argument
487 hws_action_modify_get_target_fields(u8 action_type, __be64 *pattern, in hws_action_modify_get_target_fields() argument
490 switch (action_type) { in hws_action_modify_get_target_fields()
501 pr_warn("HWS: invalid modify header action type %d\n", action_type); in hws_action_modify_get_target_fields()
510 u8 action_type = in mlx5hws_pat_verify_actions() local
511 MLX5_GET(set_action_in, &pattern[i], action_type); in mlx5hws_pat_verify_actions()
512 if (action_type >= MLX5_MODIFICATION_TYPE_MAX) { in mlx5hws_pat_verify_actions()
513 mlx5hws_err(ctx, "Unsupported action id %d\n", action_type); in mlx5hws_pat_verify_actions()
[all …]
H A Daction.c65 const char *mlx5hws_action_type_to_str(enum mlx5hws_action_type action_type) in mlx5hws_action_type_to_str() argument
67 return mlx5hws_action_type_str[action_type]; in mlx5hws_action_type_to_str()
102 stc_attr.action_type = MLX5_IFC_STC_ACTION_TYPE_HEADER_REMOVE; in hws_action_get_shared_stc_nic()
110 stc_attr.action_type = MLX5_IFC_STC_ACTION_TYPE_REMOVE_WORDS; in hws_action_get_shared_stc_nic()
253 switch (stc_attr->action_type) { in hws_action_fixup_stc_attr()
256 fixup_stc_attr->action_type = MLX5_IFC_STC_ACTION_TYPE_DROP; in hws_action_fixup_stc_attr()
275 fixup_stc_attr->action_type = MLX5_IFC_STC_ACTION_TYPE_NOP; in hws_action_fixup_stc_attr()
284 fixup_stc_attr->action_type = MLX5_IFC_STC_ACTION_TYPE_JUMP_TO_VPORT; in hws_action_fixup_stc_attr()
301 fixup_stc_attr->action_type = MLX5_IFC_STC_ACTION_TYPE_JUMP_TO_UPLINK; in hws_action_fixup_stc_attr()
352 stc_attr->action_type, table_type); in mlx5hws_action_alloc_single_stc()
[all …]
H A Dcmd.c470 switch (stc_attr->action_type) { in hws_cmd_stc_modify_set_stc_param()
487 MLX5_SET(stc_ste_param_remove, stc_param, action_type, in hws_cmd_stc_modify_set_stc_param()
497 MLX5_SET(stc_ste_param_insert, stc_param, action_type, in hws_cmd_stc_modify_set_stc_param()
550 MLX5_SET(stc_ste_param_remove_words, stc_param, action_type, in hws_cmd_stc_modify_set_stc_param()
574 mlx5_core_err(mdev, "Not supported type %d\n", stc_attr->action_type); in hws_cmd_stc_modify_set_stc_param()
601 MLX5_SET(stc, attr, action_type, stc_attr->action_type); in mlx5hws_cmd_stc_modify()
615 stc_attr->action_type); in mlx5hws_cmd_stc_modify()
695 type = MLX5_GET(set_action_in, &pattern_data[i], action_type); in mlx5hws_cmd_header_modify_pattern_create()
H A Ddebug.c72 enum mlx5hws_action_type action_type; in hws_debug_dump_matcher_action_template() local
87 action_type = at->action_type_arr[j]; in hws_debug_dump_matcher_action_template()
88 seq_printf(f, ",%s", mlx5hws_action_type_to_str(action_type)); in hws_debug_dump_matcher_action_template()
H A Dcmd.h105 enum mlx5_ifc_stc_action_type action_type; member
H A Dmlx5hws.h363 mlx5hws_action_template_create(enum mlx5hws_action_type action_type[]);
H A Dfs_hws.c30 enum mlx5hws_action_type action_type; in mlx5_fs_init_hws_actions_pool() local
45 action_type = MLX5HWS_ACTION_TYP_REFORMAT_TNL_L2_TO_L2; in mlx5_fs_init_hws_actions_pool()
47 mlx5hws_action_create_reformat(ctx, action_type, 1, in mlx5_fs_init_hws_actions_pool()
H A Dbwc_complex.c887 action_type, MLX5_MODIFICATION_TYPE_SET); in hws_bwc_isolated_actions_create()
1235 action_type, MLX5_MODIFICATION_TYPE_SET); in mlx5hws_bwc_rule_create_complex()
/linux/tools/tracing/rtla/src/
H A Dactions.h5 enum action_type { enum
15 enum action_type type;
H A Dactions.c132 enum action_type type = ACTION_NONE; in actions_parse()
/linux/net/openvswitch/
H A Dopenvswitch_trace.h38 __field( u8, action_type )
63 __entry->action_type = nla_type(a);
69 TP_printk("dpaddr=%p dp_name=%s dev=%s skbaddr=%p len=%u data_len=%u truesize=%u nr_frags=%d gso_size=%d gso_type=%#x ovs_flow_hash=0x%08x recirc_id=0x%08x keyaddr=%p eth_type=0x%04x ct_state=%02x ct_orig_proto=%02x ct_Zone=%04x flow_key_valid=%d action_type=%u action_len=%u action_data=%p is_last=%d",
78 __entry->action_type, __entry->action_len,
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dipsec_fs.c62 MLX5_SET(set_action_in, action, action_type, MLX5_ACTION_TYPE_SET); in mlx5_esw_ipsec_rx_setup_modify_header()
H A Dbridge.c1101 MLX5_SET(set_action_in, action, action_type, MLX5_ACTION_TYPE_SET); in mlx5_esw_bridge_vlan_push_mark_create()
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
H A Dingress_ofld.c76 MLX5_SET(set_action_in, action, action_type, MLX5_ACTION_TYPE_SET); in esw_acl_ingress_mod_metadata_create()
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dfs_chains.c269 MLX5_SET(set_action_in, modact, action_type, MLX5_ACTION_TYPE_SET); in create_chain_restore()
/linux/drivers/net/ethernet/intel/idpf/
H A Dvirtchnl2.h1725 __le32 action_type; member
H A Didpf_ethtool.c192 acts->actions[0].action_type = cpu_to_le32(VIRTCHNL2_ACTION_QUEUE); in idpf_add_flow_steer()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec_fs.c1669 MLX5_SET(set_action_in, action[0], action_type, MLX5_ACTION_TYPE_SET); in setup_modify_header()
1676 MLX5_SET(set_action_in, action[1], action_type, MLX5_ACTION_TYPE_SET); in setup_modify_header()
1684 MLX5_SET(set_action_in, action[2], action_type, in setup_modify_header()
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/
H A Ddr_types.h1120 enum mlx5dr_action_type action_type; member
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore_acl_flex_actions.c61 MLXSW_ITEM32(afa, all, action_type, 0x00, 24, 6);
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tc.c278 MLX5_SET(set_action_in, modact, action_type, MLX5_ACTION_TYPE_SET); in mlx5e_tc_match_to_reg_set_and_get_id()
560 MLX5_SET(set_action_in, modact, action_type, MLX5_ACTION_TYPE_SET); in mlx5e_tc_match_to_reg_mod_hdr_change()
3403 MLX5_SET(set_action_in, action, action_type, cmd); in offload_pedit_fields()
H A Deswitch_offloads.c2300 MLX5_SET(copy_action_in, modact, action_type, MLX5_ACTION_TYPE_COPY); in esw_create_restore_table()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_ct.c670 MLX5_SET(set_action_in, modact, action_type, MLX5_ACTION_TYPE_SET); in mlx5_tc_ct_parse_mangle_to_mod_act()
/linux/include/linux/mlx5/
H A Dmlx5_ifc.h7161 u8 action_type[0x4];
7172 u8 action_type[0x4];
7180 u8 action_type[0x4];
7151 u8 action_type[0x4]; global() member
7162 u8 action_type[0x4]; global() member
7170 u8 action_type[0x4]; global() member