Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_cmd.c440 in_flow_context = MLX5_ADDR_OF(set_fte_in, in, flow_context); in mlx5_cmd_set_fte()
441 MLX5_SET(flow_context, in_flow_context, group_id, group_id); in mlx5_cmd_set_fte()
443 MLX5_SET(flow_context, in_flow_context, flow_tag, in mlx5_cmd_set_fte()
444 fte->flow_context.flow_tag); in mlx5_cmd_set_fte()
445 MLX5_SET(flow_context, in_flow_context, flow_source, in mlx5_cmd_set_fte()
446 fte->flow_context.flow_source); in mlx5_cmd_set_fte()
448 MLX5_SET(flow_context, in_flow_context, extended_destination, in mlx5_cmd_set_fte()
455 MLX5_SET(flow_context, in_flow_context, action, action); in mlx5_cmd_set_fte()
457 MLX5_SET(flow_context, in_flow_context, action, in mlx5_cmd_set_fte()
460 MLX5_SET(flow_context, in_flow_context, packet_reformat_id, in mlx5_cmd_set_fte()
[all …]
Dfs_core.c630 fte->flow_context = spec->flow_context; in alloc_fte()
1469 const struct mlx5_flow_context *flow_context, in check_conflicting_ftes() argument
1478 if ((flow_context->flags & FLOW_CONTEXT_HAS_TAG) && in check_conflicting_ftes()
1479 fte->flow_context.flow_tag != flow_context->flow_tag) { in check_conflicting_ftes()
1482 fte->flow_context.flow_tag, in check_conflicting_ftes()
1483 flow_context->flow_tag); in check_conflicting_ftes()
1502 ret = check_conflicting_ftes(fte, &spec->flow_context, flow_act); in add_rule_fg()
Dfs_core.h201 struct mlx5_flow_context flow_context; member
Deswitch_offloads_termtbl.c186 return spec->flow_context.flow_source == in mlx5_eswitch_offload_is_uplink_port()
Den_fs_ethtool.c439 spec->flow_context.flow_tag = MLX5_FS_DEFAULT_FLOW_TAG; in add_ethtool_flow_rule()
Den_tc.c903 struct mlx5_flow_context *flow_context = &parse_attr->spec.flow_context; in mlx5e_tc_add_nic_flow() local
914 flow_context->flags |= FLOW_CONTEXT_HAS_TAG; in mlx5e_tc_add_nic_flow()
915 flow_context->flow_tag = attr->flow_tag; in mlx5e_tc_add_nic_flow()
Deswitch_offloads.c135 spec->flow_context.flow_source = MLX5_FLOW_CONTEXT_FLOW_SOURCE_UPLINK; in mlx5_eswitch_set_rule_source_port()
/Linux-v5.4/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()
Dfs_dr.c341 if (fte->flow_context.flow_tag) { in mlx5_cmd_dr_create_fte()
343 mlx5dr_action_create_tag(fte->flow_context.flow_tag); in mlx5_cmd_dr_create_fte()
/Linux-v5.4/drivers/infiniband/hw/mlx5/
Dflow.c71 struct mlx5_flow_context flow_context = {.flow_tag = MLX5_FS_DEFAULT_FLOW_TAG}; in UVERBS_HANDLER() local
185 ret = uverbs_copy_from(&flow_context.flow_tag, attrs, in UVERBS_HANDLER()
188 if (flow_context.flow_tag >= BIT(24)) { in UVERBS_HANDLER()
192 flow_context.flags |= FLOW_CONTEXT_HAS_TAG; in UVERBS_HANDLER()
196 &flow_context, in UVERBS_HANDLER()
Dmain.c2686 struct mlx5_flow_context *flow_context = &spec->flow_context; in parse_flow_attr() local
3007 flow_context->flow_tag = ib_spec->flow_tag.tag_id; in parse_flow_attr()
3008 flow_context->flags |= FLOW_CONTEXT_HAS_TAG; in parse_flow_attr()
3103 !(spec->flow_context.flags & FLOW_CONTEXT_HAS_TAG))) ? in is_valid_esp_aes_gcm()
3620 if ((spec->flow_context.flags & FLOW_CONTEXT_HAS_TAG) && in _create_flow_rule()
3624 spec->flow_context.flow_tag, flow_attr->type); in _create_flow_rule()
4011 struct mlx5_flow_context *flow_context, in _create_raw_flow_rule() argument
4034 spec->flow_context = *flow_context; in _create_raw_flow_rule()
4099 struct mlx5_flow_context *flow_context, in mlx5_ib_raw_fs_rule_add() argument
4153 flow_context, flow_act, in mlx5_ib_raw_fs_rule_add()
Dmlx5_ib.h1348 struct mlx5_flow_context *flow_context,
/Linux-v5.4/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.4/include/linux/mlx5/
Dfs.h108 struct mlx5_flow_context flow_context; member
Dmlx5_ifc.h4009 struct mlx5_ifc_flow_context_bits flow_context; member
5167 struct mlx5_ifc_flow_context_bits flow_context; member
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dipsec.c640 struct mlx5_flow_context *flow_context) in mlx5_is_fpga_egress_ipsec_rule() argument
659 (flow_context->flags & FLOW_CONTEXT_HAS_TAG)) in mlx5_is_fpga_egress_ipsec_rule()
772 &fte->flow_context)) in mlx5_fpga_ipsec_fs_create_sa_ctx()