Home
last modified time | relevance | path

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

12

/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 Daction_ste_pool.c119 stc_attr.action_type = MLX5_IFC_STC_ACTION_TYPE_JUMP_TO_STE_TABLE; in hws_action_ste_table_create_stc()
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()
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/
H A Ddr_action.c506 enum mlx5dr_action_type *action_type) in dr_action_reformat_to_action_type() argument
510 *action_type = DR_ACTION_TYP_TNL_L2_TO_L2; in dr_action_reformat_to_action_type()
513 *action_type = DR_ACTION_TYP_L2_TO_TNL_L2; in dr_action_reformat_to_action_type()
516 *action_type = DR_ACTION_TYP_TNL_L3_TO_L2; in dr_action_reformat_to_action_type()
519 *action_type = DR_ACTION_TYP_L2_TO_TNL_L3; in dr_action_reformat_to_action_type()
522 *action_type = DR_ACTION_TYP_INSERT_HDR; in dr_action_reformat_to_action_type()
525 *action_type = DR_ACTION_TYP_REMOVE_HDR; in dr_action_reformat_to_action_type()
579 u32 action_type, in dr_action_validate_and_get_next_state() argument
585 *state = next_action_state[action_domain][cur_state][action_type]; in dr_action_validate_and_get_next_state()
599 switch (dest_action->action_type) { in dr_action_handle_cs_recalc()
[all …]
H A Ddr_fw.c43 MLX5_SET(set_action_in, &modify_ttl_action, action_type, MLX5_ACTION_TYPE_ADD); in mlx5dr_fw_create_recalc_cs_ft()
H A Ddr_table.c51 if (action && action->action_type != DR_ACTION_TYP_FT) in mlx5dr_table_set_miss_action()
H A Ddr_dbg.c218 switch (action->action_type) { in dr_dump_rule_action_mem()
H A Ddr_types.h1120 enum mlx5dr_action_type action_type; member
/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/platform/raspberrypi/vchiq-mmal/
H A Dmmal-vchiq.c1112 enum mmal_msg_port_action_type action_type) in port_action_port() argument
1122 m.u.port_action_port.action = action_type; in port_action_port()
1143 port_action_type_names[action_type], action_type); in port_action_port()
1154 enum mmal_msg_port_action_type action_type, in port_action_handle() argument
1167 m.u.port_action_handle.action = action_type; in port_action_handle()
1190 port_action_type_names[action_type], in port_action_handle()
1191 action_type, connect_component_handle, connect_port_handle); in port_action_handle()
/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()
/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/en_accel/
H A Dpsp.c150 MLX5_SET(copy_action_in, action, action_type, MLX5_ACTION_TYPE_COPY); in accel_psp_fs_rx_err_add_rule()
393 MLX5_SET(set_action_in, action, action_type, MLX5_ACTION_TYPE_SET); in accel_psp_fs_rx_create_ft()
H A Dipsec_fs.c1697 MLX5_SET(set_action_in, action[0], action_type, MLX5_ACTION_TYPE_SET); in setup_modify_header()
1704 MLX5_SET(set_action_in, action[1], action_type, MLX5_ACTION_TYPE_SET); in setup_modify_header()
1712 MLX5_SET(set_action_in, action[2], action_type, in setup_modify_header()
/linux/drivers/net/ethernet/intel/idpf/
H A Dvirtchnl2.h1725 __le32 action_type; member
H A Didpf_ethtool.c241 acts->actions[0].action_type = cpu_to_le32(VIRTCHNL2_ACTION_QUEUE); in idpf_add_flow_steer()
/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()
H A Dmacsec_fs.c1340 MLX5_SET(copy_action_in, action, action_type, MLX5_ACTION_TYPE_COPY); in macsec_fs_rx_roce_jump_to_rdma_rules_create()
1762 MLX5_SET(set_action_in, action, action_type, MLX5_ACTION_TYPE_SET); in macsec_fs_rx_add_rule()
2216 MLX5_SET(set_action_in, action, action_type, MLX5_ACTION_TYPE_SET); in mlx5_macsec_fs_add_roce_rule_tx()

12