Home
last modified time | relevance | path

Searched refs:flow_context (Results 1 – 23 of 23) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_cmd.c332 in_flow_context = MLX5_ADDR_OF(set_fte_in, in, flow_context); in mlx5dr_cmd_set_fte_modify_and_vport()
333 MLX5_SET(flow_context, in_flow_context, group_id, group_id); in mlx5dr_cmd_set_fte_modify_and_vport()
334 MLX5_SET(flow_context, in_flow_context, modify_header_id, modify_header_id); in mlx5dr_cmd_set_fte_modify_and_vport()
335 MLX5_SET(flow_context, in_flow_context, destination_list_size, 1); in mlx5dr_cmd_set_fte_modify_and_vport()
336 MLX5_SET(flow_context, in_flow_context, action, in mlx5dr_cmd_set_fte_modify_and_vport()
340 in_dests = MLX5_ADDR_OF(flow_context, in_flow_context, destination); in mlx5dr_cmd_set_fte_modify_and_vport()
825 in_flow_context = MLX5_ADDR_OF(set_fte_in, in, flow_context); in mlx5dr_cmd_set_fte()
826 MLX5_SET(flow_context, in_flow_context, group_id, group_id); in mlx5dr_cmd_set_fte()
828 MLX5_SET(flow_context, in_flow_context, flow_tag, in mlx5dr_cmd_set_fte()
829 fte->flow_context.flow_tag); in mlx5dr_cmd_set_fte()
[all …]
Dfs_dr.c414 if (fte->flow_context.flow_tag) { in mlx5_cmd_dr_create_fte()
416 mlx5dr_action_create_tag(fte->flow_context.flow_tag); in mlx5_cmd_dr_create_fte()
573 u32 flow_source = fte->flow_context.flow_source; in mlx5_cmd_dr_create_fte()
597 fte->flow_context.flow_source); in mlx5_cmd_dr_create_fte()
Ddr_fw.c143 fte_info.flow_context.flow_source = flow_source; in mlx5dr_fw_create_md_tbl()
Ddr_types.h1528 struct mlx5_flow_context flow_context; member
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_cmd.c501 execute_aso = MLX5_ADDR_OF(flow_context, in_flow_context, in mlx5_cmd_set_fte_flow_meter()
562 in_flow_context = MLX5_ADDR_OF(set_fte_in, in, flow_context); in mlx5_cmd_set_fte()
563 MLX5_SET(flow_context, in_flow_context, group_id, group_id); in mlx5_cmd_set_fte()
565 MLX5_SET(flow_context, in_flow_context, flow_tag, in mlx5_cmd_set_fte()
566 fte->flow_context.flow_tag); in mlx5_cmd_set_fte()
567 MLX5_SET(flow_context, in_flow_context, flow_source, in mlx5_cmd_set_fte()
568 fte->flow_context.flow_source); in mlx5_cmd_set_fte()
570 MLX5_SET(flow_context, in_flow_context, extended_destination, in mlx5_cmd_set_fte()
577 MLX5_SET(flow_context, in_flow_context, action, action); in mlx5_cmd_set_fte()
596 MLX5_SET(flow_context, in_flow_context, packet_reformat_id, (u32)reformat_id); in mlx5_cmd_set_fte()
[all …]
Dfs_core.h239 struct mlx5_flow_context flow_context; member
Dfs_core.c786 fte->flow_context = spec->flow_context; in alloc_fte()
1764 const struct mlx5_flow_context *flow_context, in check_conflicting_ftes() argument
1773 if ((flow_context->flags & FLOW_CONTEXT_HAS_TAG) && in check_conflicting_ftes()
1774 fte->flow_context.flow_tag != flow_context->flow_tag) { in check_conflicting_ftes()
1777 fte->flow_context.flow_tag, in check_conflicting_ftes()
1778 flow_context->flow_tag); in check_conflicting_ftes()
1797 ret = check_conflicting_ftes(fte, &spec->flow_context, flow_act); in add_rule_fg()
Deswitch_offloads_termtbl.c203 return spec->flow_context.flow_source == in mlx5_eswitch_offload_is_uplink_port()
Deswitch_offloads.c90 spec->flow_context.flow_source = mlx5e_tc_int_port_get_flow_source(attr->int_port); in mlx5_eswitch_set_rule_flow_source()
95 spec->flow_context.flow_source = (attr->in_rep->vport == MLX5_VPORT_UPLINK) ? in mlx5_eswitch_set_rule_flow_source()
1000 spec->flow_context.flow_source = MLX5_FLOW_CONTEXT_FLOW_SOURCE_LOCAL_VPORT; in mlx5_eswitch_add_send_to_vport_rule()
1396 struct mlx5_flow_context *flow_context; in esw_add_restore_rule() local
1421 flow_context = &spec->flow_context; in esw_add_restore_rule()
1422 flow_context->flags |= FLOW_CONTEXT_HAS_TAG; in esw_add_restore_rule()
1423 flow_context->flow_tag = tag; in esw_add_restore_rule()
Den_fs.c378 spec->flow_context.flags |= FLOW_CONTEXT_HAS_TAG; in mlx5e_add_trap_rule()
379 spec->flow_context.flow_tag = trap_id; in mlx5e_add_trap_rule()
Den_fs_ethtool.c494 spec->flow_context.flow_tag = MLX5_FS_DEFAULT_FLOW_TAG; in add_ethtool_flow_rule()
Den_tc.c1231 struct mlx5_flow_context *flow_context = &spec->flow_context; in mlx5e_add_offloaded_nic_rule() local
1246 flow_context->flags |= FLOW_CONTEXT_HAS_TAG; in mlx5e_add_offloaded_nic_rule()
1247 flow_context->flow_tag = nic_attr->flow_tag; in mlx5e_add_offloaded_nic_rule()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
Dint_port.c66 struct mlx5_flow_context *flow_context; in mlx5e_int_port_create_rx_rule() local
89 flow_context = &spec->flow_context; in mlx5e_int_port_create_rx_rule()
90 flow_context->flags |= FLOW_CONTEXT_HAS_TAG; in mlx5e_int_port_create_rx_rule()
91 flow_context->flow_tag = int_port->mapping; in mlx5e_int_port_create_rx_rule()
Dct_fs_smfs.c338 spec->flow_context.flow_source); in mlx5_ct_fs_smfs_ct_rule_add()
/Linux-v6.6/drivers/infiniband/hw/mlx5/
Dfs.c189 struct mlx5_flow_context *flow_context = &spec->flow_context; in parse_flow_attr() local
503 flow_context->flow_tag = ib_spec->flow_tag.tag_id; in parse_flow_attr()
504 flow_context->flags |= FLOW_CONTEXT_HAS_TAG; in parse_flow_attr()
1134 if ((spec->flow_context.flags & FLOW_CONTEXT_HAS_TAG) && in _create_flow_rule()
1138 spec->flow_context.flow_tag, flow_attr->type); in _create_flow_rule()
1518 struct mlx5_flow_context *flow_context, in _create_raw_flow_rule() argument
1541 spec->flow_context = *flow_context; in _create_raw_flow_rule()
1605 struct mlx5_flow_context *flow_context, struct mlx5_flow_act *flow_act, in raw_fs_rule_add() argument
1661 fs_matcher, flow_context, flow_act, in raw_fs_rule_add()
1905 struct mlx5_flow_context flow_context = {.flow_tag = in UVERBS_HANDLER() local
[all …]
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dipsec_fs.c82 spec->flow_context.flow_source = MLX5_FLOW_CONTEXT_FLOW_SOURCE_UPLINK; in esw_ipsec_rx_status_drop_create()
126 spec->flow_context.flow_source = MLX5_FLOW_CONTEXT_FLOW_SOURCE_UPLINK; in esw_ipsec_rx_status_pass_create()
Dbridge_mcast.c590 rule_spec->flow_context.flow_source = in mlx5_esw_bridge_mcast_vlan_flow_create()
665 rule_spec->flow_context.flow_source = in mlx5_esw_bridge_mcast_fwd_flow_create()
Dbridge.c758 rule_spec->flow_context.flow_source = in mlx5_esw_bridge_egress_flow_create()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/diag/
Dfs_tracepoint.h208 __entry->flow_tag = fte->flow_context.flow_tag;
209 __entry->flow_source = fte->flow_context.flow_source;
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dfs_tcp.c134 spec->flow_context.flow_tag = flow_tag; in mlx5e_accel_fs_add_sk()
135 spec->flow_context.flags = FLOW_CONTEXT_HAS_TAG; in mlx5e_accel_fs_add_sk()
/Linux-v6.6/include/linux/mlx5/
Dfs.h146 struct mlx5_flow_context flow_context; member
Dmlx5_ifc.h4829 struct mlx5_ifc_flow_context_bits flow_context; member
6048 struct mlx5_ifc_flow_context_bits flow_context; member
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_ct.c488 spec->flow_context.flow_source = in mlx5_tc_ct_set_tuple_match()