Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfs_cmd.c526 execute_aso = MLX5_ADDR_OF(flow_context, in_flow_context, in mlx5_cmd_set_fte_flow_meter()
590 in_flow_context = MLX5_ADDR_OF(set_fte_in, in, flow_context); in mlx5_cmd_set_fte()
591 MLX5_SET(flow_context, in_flow_context, group_id, group_id); in mlx5_cmd_set_fte()
593 MLX5_SET(flow_context, in_flow_context, flow_tag, in mlx5_cmd_set_fte()
594 fte->act_dests.flow_context.flow_tag); in mlx5_cmd_set_fte()
595 MLX5_SET(flow_context, in_flow_context, flow_source, in mlx5_cmd_set_fte()
596 fte->act_dests.flow_context.flow_source); in mlx5_cmd_set_fte()
597 MLX5_SET(flow_context, in_flow_context, uplink_hairpin_en, in mlx5_cmd_set_fte()
598 !!(fte->act_dests.flow_context.flags & FLOW_CONTEXT_UPLINK_HAIRPIN_EN)); in mlx5_cmd_set_fte()
600 MLX5_SET(flow_context, in_flow_context, extended_destination, in mlx5_cmd_set_fte()
[all …]
H A Dfs_core.c864 fte->act_dests.flow_context = spec->flow_context; in alloc_fte()
1964 const struct mlx5_flow_context *flow_context, in check_conflicting_ftes() argument
1973 if ((flow_context->flags & FLOW_CONTEXT_HAS_TAG) && in check_conflicting_ftes()
1974 fte->act_dests.flow_context.flow_tag != flow_context->flow_tag) { in check_conflicting_ftes()
1977 fte->act_dests.flow_context.flow_tag, in check_conflicting_ftes()
1978 flow_context->flow_tag); in check_conflicting_ftes()
1997 ret = check_conflicting_ftes(fte, &spec->flow_context, flow_act); in add_rule_fg()
2200 fte->dup->act_dests.flow_context = spec->flow_context; in add_rule_dup_match_fte()
H A Dfs_core.h233 struct mlx5_flow_context flow_context; member
H A Deswitch_offloads_termtbl.c203 return spec->flow_context.flow_source == in mlx5_eswitch_offload_is_uplink_port()
/linux/drivers/infiniband/hw/mlx5/
H A Dfs.c195 struct mlx5_flow_context *flow_context = &spec->flow_context; in parse_flow_attr() local
509 flow_context->flow_tag = ib_spec->flow_tag.tag_id; in parse_flow_attr()
510 flow_context->flags |= FLOW_CONTEXT_HAS_TAG; in parse_flow_attr()
1606 if ((spec->flow_context.flags & FLOW_CONTEXT_HAS_TAG) && in _create_flow_rule()
1610 spec->flow_context.flow_tag, flow_attr->type); in _create_flow_rule()
2053 struct mlx5_flow_context *flow_context, in _create_raw_flow_rule() argument
2076 spec->flow_context = *flow_context; in _create_raw_flow_rule()
2140 struct mlx5_flow_context *flow_context, struct mlx5_flow_act *flow_act, in raw_fs_rule_add() argument
2201 fs_matcher, flow_context, flow_act, in raw_fs_rule_add()
2457 struct mlx5_flow_context flow_context = {.flow_tag = in UVERBS_HANDLER() local
[all …]
/linux/include/linux/mlx5/
H A Dfs.h173 struct mlx5_flow_context flow_context; member
H A Dmlx5_ifc.h5277 struct mlx5_ifc_flow_context_bits flow_context; member
6557 struct mlx5_ifc_flow_context_bits flow_context; member
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dbridge_mcast.c86 rule_spec->flow_context.flags |= FLOW_CONTEXT_UPLINK_HAIRPIN_EN; in mlx5_esw_bridge_mdb_flow_create()
591 rule_spec->flow_context.flags |= FLOW_CONTEXT_UPLINK_HAIRPIN_EN; in mlx5_esw_bridge_mcast_vlan_flow_create()
667 rule_spec->flow_context.flags |= FLOW_CONTEXT_UPLINK_HAIRPIN_EN; in mlx5_esw_bridge_mcast_fwd_flow_create()
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dfs_hws.c906 if (fte->act_dests.flow_context.flow_tag) { in mlx5_fs_fte_get_hws_actions()
916 (*ractions)[num_actions].tag.value = fte->act_dests.flow_context.flow_tag; in mlx5_fs_fte_get_hws_actions()
1091 fte->act_dests.flow_context.flow_source, in mlx5_cmd_hws_create_fte()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec_fs.c229 spec->flow_context.flow_source = MLX5_FLOW_CONTEXT_FLOW_SOURCE_UPLINK; in rx_add_rule_drop_auth_trailer()
307 spec->flow_context.flow_source = MLX5_FLOW_CONTEXT_FLOW_SOURCE_UPLINK; in rx_add_rule_drop_replay()
378 spec->flow_context.flow_source = MLX5_FLOW_CONTEXT_FLOW_SOURCE_UPLINK; in ipsec_rx_status_drop_all_create()
470 spec->flow_context.flow_source = MLX5_FLOW_CONTEXT_FLOW_SOURCE_UPLINK; in ipsec_rx_status_pass_create()
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/
H A Ddr_types.h1529 struct mlx5_flow_context flow_context; member