Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_cmd.c194 in_flow_context = MLX5_ADDR_OF(set_fte_in, in, flow_context); in mlx5dr_cmd_set_fte_modify_and_vport()
195 MLX5_SET(flow_context, in_flow_context, group_id, group_id); in mlx5dr_cmd_set_fte_modify_and_vport()
196 MLX5_SET(flow_context, in_flow_context, modify_header_id, modify_header_id); in mlx5dr_cmd_set_fte_modify_and_vport()
197 MLX5_SET(flow_context, in_flow_context, destination_list_size, 1); in mlx5dr_cmd_set_fte_modify_and_vport()
198 MLX5_SET(flow_context, in_flow_context, action, in mlx5dr_cmd_set_fte_modify_and_vport()
202 in_dests = MLX5_ADDR_OF(flow_context, in_flow_context, destination); in mlx5dr_cmd_set_fte_modify_and_vport()
557 in_flow_context = MLX5_ADDR_OF(set_fte_in, in, flow_context); in mlx5dr_cmd_set_fte()
558 MLX5_SET(flow_context, in_flow_context, group_id, group_id); in mlx5dr_cmd_set_fte()
560 MLX5_SET(flow_context, in_flow_context, flow_tag, in mlx5dr_cmd_set_fte()
561 fte->flow_context.flow_tag); in mlx5dr_cmd_set_fte()
[all …]
Dfs_dr.c373 if (fte->flow_context.flow_tag) { in mlx5_cmd_dr_create_fte()
375 mlx5dr_action_create_tag(fte->flow_context.flow_tag); in mlx5_cmd_dr_create_fte()
491 fte->flow_context.flow_source); in mlx5_cmd_dr_create_fte()
Ddr_types.h1119 struct mlx5_flow_context flow_context; member
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_cmd.c435 in_flow_context = MLX5_ADDR_OF(set_fte_in, in, flow_context); in mlx5_cmd_set_fte()
436 MLX5_SET(flow_context, in_flow_context, group_id, group_id); in mlx5_cmd_set_fte()
438 MLX5_SET(flow_context, in_flow_context, flow_tag, in mlx5_cmd_set_fte()
439 fte->flow_context.flow_tag); in mlx5_cmd_set_fte()
440 MLX5_SET(flow_context, in_flow_context, flow_source, in mlx5_cmd_set_fte()
441 fte->flow_context.flow_source); in mlx5_cmd_set_fte()
443 MLX5_SET(flow_context, in_flow_context, extended_destination, in mlx5_cmd_set_fte()
450 MLX5_SET(flow_context, in_flow_context, action, action); in mlx5_cmd_set_fte()
452 MLX5_SET(flow_context, in_flow_context, action, in mlx5_cmd_set_fte()
455 MLX5_SET(flow_context, in_flow_context, packet_reformat_id, in mlx5_cmd_set_fte()
[all …]
Dfs_core.c677 fte->flow_context = spec->flow_context; in alloc_fte()
1543 const struct mlx5_flow_context *flow_context, in check_conflicting_ftes() argument
1552 if ((flow_context->flags & FLOW_CONTEXT_HAS_TAG) && in check_conflicting_ftes()
1553 fte->flow_context.flow_tag != flow_context->flow_tag) { in check_conflicting_ftes()
1556 fte->flow_context.flow_tag, in check_conflicting_ftes()
1557 flow_context->flow_tag); in check_conflicting_ftes()
1576 ret = check_conflicting_ftes(fte, &spec->flow_context, flow_act); in add_rule_fg()
Dfs_core.h216 struct mlx5_flow_context flow_context; member
Deswitch_offloads.c251 spec->flow_context.flow_source = in mlx5_eswitch_set_rule_flow_source()
1095 struct mlx5_flow_context *flow_context; in esw_add_restore_rule() local
1120 flow_context = &spec->flow_context; in esw_add_restore_rule()
1121 flow_context->flags |= FLOW_CONTEXT_HAS_TAG; in esw_add_restore_rule()
1122 flow_context->flow_tag = tag; in esw_add_restore_rule()
Deswitch_offloads_termtbl.c220 return spec->flow_context.flow_source == in mlx5_eswitch_offload_is_uplink_port()
Den_fs_ethtool.c442 spec->flow_context.flow_tag = MLX5_FS_DEFAULT_FLOW_TAG; in add_ethtool_flow_rule()
Den_tc.c939 struct mlx5_flow_context *flow_context = &spec->flow_context; in mlx5e_add_offloaded_nic_rule() local
952 flow_context->flags |= FLOW_CONTEXT_HAS_TAG; in mlx5e_add_offloaded_nic_rule()
953 flow_context->flow_tag = nic_attr->flow_tag; in mlx5e_add_offloaded_nic_rule()
/Linux-v5.10/drivers/infiniband/hw/mlx5/
Dfs.c199 struct mlx5_flow_context *flow_context = &spec->flow_context; in parse_flow_attr() local
520 flow_context->flow_tag = ib_spec->flow_tag.tag_id; in parse_flow_attr()
521 flow_context->flags |= FLOW_CONTEXT_HAS_TAG; in parse_flow_attr()
616 !(spec->flow_context.flags & FLOW_CONTEXT_HAS_TAG))) ? in is_valid_esp_aes_gcm()
1005 if ((spec->flow_context.flags & FLOW_CONTEXT_HAS_TAG) && in _create_flow_rule()
1009 spec->flow_context.flow_tag, flow_attr->type); in _create_flow_rule()
1390 struct mlx5_flow_context *flow_context, in _create_raw_flow_rule() argument
1413 spec->flow_context = *flow_context; in _create_raw_flow_rule()
1477 struct mlx5_flow_context *flow_context, struct mlx5_flow_act *flow_act, in raw_fs_rule_add() argument
1532 flow_context, flow_act, in raw_fs_rule_add()
[all …]
/Linux-v5.10/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-v5.10/include/linux/mlx5/
Dfs.h114 struct mlx5_flow_context flow_context; member
Dmlx5_ifc.h4265 struct mlx5_ifc_flow_context_bits flow_context; member
5440 struct mlx5_ifc_flow_context_bits flow_context; member
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dfs_tcp.c136 spec->flow_context.flow_tag = flow_tag; in mlx5e_accel_fs_add_sk()
137 spec->flow_context.flags = FLOW_CONTEXT_HAS_TAG; in mlx5e_accel_fs_add_sk()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dipsec.c643 struct mlx5_flow_context *flow_context) in mlx5_is_fpga_egress_ipsec_rule() argument
662 (flow_context->flags & FLOW_CONTEXT_HAS_TAG)) in mlx5_is_fpga_egress_ipsec_rule()
786 &fte->flow_context)) in mlx5_fpga_ipsec_fs_create_sa_ctx()