Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A 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()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A 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()
H A Dipsec_fs.c199 spec->flow_context.flow_source = MLX5_FLOW_CONTEXT_FLOW_SOURCE_UPLINK; in rx_add_rule_drop_auth_trailer()
280 spec->flow_context.flow_source = MLX5_FLOW_CONTEXT_FLOW_SOURCE_UPLINK; in rx_add_rule_drop_replay()
353 spec->flow_context.flow_source = MLX5_FLOW_CONTEXT_FLOW_SOURCE_UPLINK; in ipsec_rx_status_drop_all_create()
402 spec->flow_context.flow_source = MLX5_FLOW_CONTEXT_FLOW_SOURCE_UPLINK; in ipsec_rx_status_pass_create()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfs_core.c859 fte->act_dests.flow_context = spec->flow_context; in alloc_fte()
1940 const struct mlx5_flow_context *flow_context, in check_conflicting_ftes() argument
1949 if ((flow_context->flags & FLOW_CONTEXT_HAS_TAG) && in check_conflicting_ftes()
1950 fte->act_dests.flow_context.flow_tag != flow_context->flow_tag) { in check_conflicting_ftes()
1953 fte->act_dests.flow_context.flow_tag, in check_conflicting_ftes()
1954 flow_context->flow_tag); in check_conflicting_ftes()
1973 ret = check_conflicting_ftes(fte, &spec->flow_context, flow_act); in add_rule_fg()
2176 fte->dup->act_dests.flow_context = spec->flow_context; in add_rule_dup_match_fte()
H A Deswitch_offloads_termtbl.c203 return spec->flow_context.flow_source == in mlx5_eswitch_offload_is_uplink_port()
H A Deswitch_offloads.c91 spec->flow_context.flow_source = mlx5e_tc_int_port_get_flow_source(attr->int_port); in mlx5_eswitch_set_rule_flow_source()
96 spec->flow_context.flow_source = (attr->in_rep->vport == MLX5_VPORT_UPLINK) ? in mlx5_eswitch_set_rule_flow_source()
1013 spec->flow_context.flow_source = MLX5_FLOW_CONTEXT_FLOW_SOURCE_LOCAL_VPORT; in mlx5_eswitch_add_send_to_vport_rule()
1417 struct mlx5_flow_context *flow_context; in esw_add_restore_rule() local
1442 flow_context = &spec->flow_context; in esw_add_restore_rule()
1443 flow_context->flags |= FLOW_CONTEXT_HAS_TAG; in esw_add_restore_rule()
1444 flow_context->flow_tag = tag; in esw_add_restore_rule()
H A 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()
H A Den_fs_ethtool.c494 spec->flow_context.flow_tag = MLX5_FS_DEFAULT_FLOW_TAG; in add_ethtool_flow_rule()
/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/include/linux/mlx5/
H A Dmlx5_ifc.h5180 struct mlx5_ifc_flow_context_bits flow_context; member
6458 struct mlx5_ifc_flow_context_bits flow_context; member