/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
H A D | pat_arg.c | 45 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() 531 u8 action_type; mlx5hws_pat_calc_nop() local [all...] |
H A D | action.c | 65 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() 200 mlx5hws_err(ctx, "Invalid action_type sequence"); in hws_action_print_combo() 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 in hws_action_fixup_stc_attr() 414 u8 action_type = MLX5_GET(set_action_in, &pattern, action_type); hws_action_get_mh_stc_type() local 620 hws_action_create_generic_bulk(struct mlx5hws_context * ctx,u32 flags,enum mlx5hws_action_type action_type,u8 bulk_sz) hws_action_create_generic_bulk() argument 651 hws_action_create_generic(struct mlx5hws_context * ctx,u32 flags,enum mlx5hws_action_type action_type) hws_action_create_generic() argument 754 hws_action_create_aso(struct mlx5hws_context * ctx,enum mlx5hws_action_type action_type,u32 obj_id,u8 return_reg_id,u32 flags) hws_action_create_aso() argument 1391 enum mlx5hws_action_type action_type = dests[i].dest->type; mlx5hws_action_create_dest_array() local 2455 enum mlx5hws_action_type *action_type = at->action_type_arr; mlx5hws_action_template_process() local 2618 mlx5hws_action_template_create(enum mlx5hws_action_type action_type[]) mlx5hws_action_template_create() argument [all...] |
H A D | prm.h | 283 u8 action_type[0x4]; member 293 u8 action_type[0x4]; member 303 u8 action_type[0x4]; member 351 u8 action_type[0x8]; member
|
H A D | cmd.c | 469 switch (stc_attr->action_type) { in hws_cmd_stc_modify_set_stc_param() 486 MLX5_SET(stc_ste_param_remove, stc_param, action_type, in hws_cmd_stc_modify_set_stc_param() 496 MLX5_SET(stc_ste_param_insert, stc_param, action_type, in hws_cmd_stc_modify_set_stc_param() 549 MLX5_SET(stc_ste_param_remove_words, stc_param, action_type, in hws_cmd_stc_modify_set_stc_param() 573 mlx5_core_err(mdev, "Not supported type %d\n", stc_attr->action_type); in hws_cmd_stc_modify_set_stc_param() 600 MLX5_SET(stc, attr, action_type, stc_attr->action_type); in mlx5hws_cmd_stc_modify() 613 mlx5_core_err(mdev, "Failed to modify STC FW action_type %d\n", in mlx5hws_cmd_stc_modify() 614 stc_attr->action_type); in mlx5hws_cmd_stc_modify() 694 type = MLX5_GET(set_action_in, &pattern_data[i], action_type); in mlx5hws_cmd_header_modify_pattern_create() [all...] |
H A D | debug.c | 72 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 D | action.h | 208 const char *mlx5hws_action_type_to_str(enum mlx5hws_action_type action_type);
|
H A D | cmd.h | 104 enum mlx5_ifc_stc_action_type action_type; member
|
H A D | mlx5hws.h | 353 * mlx5hws_action_template_create - Create a new action template based on an action_type array. 355 * @action_type: An array of actions based on the order of actions which will be provided 362 mlx5hws_action_template_create(enum mlx5hws_action_type action_type[]);
|
H A D | action_ste_pool.c | 119 stc_attr.action_type = MLX5_IFC_STC_ACTION_TYPE_JUMP_TO_STE_TABLE; in hws_action_ste_table_create_stc()
|
H A D | fs_hws.c | 30 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 D | bwc_complex.c | 887 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/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/ |
H A D | dr_action.c | 506 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() 783 u32 action_type; mlx5dr_actions_build_ste_arr() local 992 dr_action_create_generic(enum mlx5dr_action_type action_type) dr_action_create_generic() argument 1550 enum mlx5dr_action_type action_type; mlx5dr_action_create_packet_reformat() local 1868 u8 action_type; dr_action_modify_check_field_limitation() local [all...] |
H A D | dr_fw.c | 43 MLX5_SET(set_action_in, &modify_ttl_action, action_type, MLX5_ACTION_TYPE_ADD); in mlx5dr_fw_create_recalc_cs_ft()
|
H A D | dr_table.c | 51 if (action && action->action_type != DR_ACTION_TYP_FT) in mlx5dr_table_set_miss_action()
|
H A D | mlx5_ifc_dr.h | 52 u8 action_type[0x3]; member
|
/linux/tools/tracing/rtla/src/ |
H A D | actions.h | 5 enum action_type { enum 15 enum action_type type;
|
H A D | actions.c | 132 enum action_type type = ACTION_NONE; in actions_parse()
|
/linux/net/openvswitch/ |
H A D | openvswitch_trace.h | 38 __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/staging/vc04_services/vchiq-mmal/ |
H A D | mmal-vchiq.c | 1111 enum mmal_msg_port_action_type action_type) in port_action_port() argument 1121 m.u.port_action_port.action = action_type; in port_action_port() 1142 port_action_type_names[action_type], action_type); in port_action_port() 1153 enum mmal_msg_port_action_type action_type, in port_action_handle() argument 1166 m.u.port_action_handle.action = action_type; in port_action_handle() 1189 port_action_type_names[action_type], in port_action_handle() 1190 action_type, connect_component_handle, connect_port_handle); in port_action_handle()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
H A D | ipsec_fs.c | 62 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 D | ingress_ofld.c | 76 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 D | fs_chains.c | 269 MLX5_SET(set_action_in, modact, action_type, MLX5_ACTION_TYPE_SET); in create_chain_restore()
|
H A D | macsec_fs.c | 1344 MLX5_SET(copy_action_in, action, action_type, MLX5_ACTION_TYPE_COPY); in macsec_fs_rx_roce_jump_to_rdma_rules_create() 1766 MLX5_SET(set_action_in, action, action_type, MLX5_ACTION_TYPE_SET); in macsec_fs_rx_add_rule() 2220 MLX5_SET(set_action_in, action, action_type, MLX5_ACTION_TYPE_SET); in mlx5_macsec_fs_add_roce_rule_tx()
|
/linux/drivers/net/ethernet/intel/idpf/ |
H A D | virtchnl2.h | 1712 * @action_type: see enum virtchnl2_action_types 1713 * @act_conf: union representing action depending on action_type. 1725 __le32 action_type; member
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H A D | ipsec_fs.c | 1668 MLX5_SET(set_action_in, action[0], action_type, MLX5_ACTION_TYPE_SET); in setup_modify_header() 1675 MLX5_SET(set_action_in, action[1], action_type, MLX5_ACTION_TYPE_SET); in setup_modify_header() 1683 MLX5_SET(set_action_in, action[2], action_type, in setup_modify_header()
|