Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A 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 …]
H A 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()
H A Ddr_fw.c143 fte_info.flow_context.flow_source = flow_source; in mlx5dr_fw_create_md_tbl()
H A Ddr_types.h1528 struct mlx5_flow_context flow_context; member
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A 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()
569 MLX5_SET(flow_context, in_flow_context, uplink_hairpin_en, in mlx5_cmd_set_fte()
570 !!(fte->flow_context.flags & FLOW_CONTEXT_UPLINK_HAIRPIN_EN)); in mlx5_cmd_set_fte()
572 MLX5_SET(flow_context, in_flow_context, extended_destination, in mlx5_cmd_set_fte()
[all …]
H A Dfs_core.h239 struct mlx5_flow_context flow_context; member
H A Dfs_core.c786 fte->flow_context = spec->flow_context; in alloc_fte()
1774 const struct mlx5_flow_context *flow_context, in check_conflicting_ftes() argument
1783 if ((flow_context->flags & FLOW_CONTEXT_HAS_TAG) && in check_conflicting_ftes()
1784 fte->flow_context.flow_tag != flow_context->flow_tag) { in check_conflicting_ftes()
1787 fte->flow_context.flow_tag, in check_conflicting_ftes()
1788 flow_context->flow_tag); in check_conflicting_ftes()
1807 ret = check_conflicting_ftes(fte, &spec->flow_context, flow_act); in add_rule_fg()
H A Deswitch_offloads_termtbl.c203 return spec->flow_context.flow_source == in mlx5_eswitch_offload_is_uplink_port()
H A Deswitch_offloads.c87 spec->flow_context.flow_source = mlx5e_tc_int_port_get_flow_source(attr->int_port); in mlx5_eswitch_set_rule_flow_source()
92 spec->flow_context.flow_source = (attr->in_rep->vport == MLX5_VPORT_UPLINK) ? in mlx5_eswitch_set_rule_flow_source()
1002 spec->flow_context.flow_source = MLX5_FLOW_CONTEXT_FLOW_SOURCE_LOCAL_VPORT; in mlx5_eswitch_add_send_to_vport_rule()
1406 struct mlx5_flow_context *flow_context; in esw_add_restore_rule() local
1431 flow_context = &spec->flow_context; in esw_add_restore_rule()
1432 flow_context->flags |= FLOW_CONTEXT_HAS_TAG; in esw_add_restore_rule()
1433 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()
H A Den_tc.c1234 struct mlx5_flow_context *flow_context = &spec->flow_context; in mlx5e_add_offloaded_nic_rule() local
1249 flow_context->flags |= FLOW_CONTEXT_HAS_TAG; in mlx5e_add_offloaded_nic_rule()
1250 flow_context->flow_tag = nic_attr->flow_tag; in mlx5e_add_offloaded_nic_rule()
/openbmc/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()
H A Dct_fs_smfs.c338 spec->flow_context.flow_source); in mlx5_ct_fs_smfs_ct_rule_add()
/openbmc/linux/drivers/infiniband/hw/mlx5/
H A 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 …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/diag/
H A Dfs_tracepoint.h208 __entry->flow_tag = fte->flow_context.flow_tag;
209 __entry->flow_source = fte->flow_context.flow_source;
/openbmc/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.c196 spec->flow_context.flow_source = MLX5_FLOW_CONTEXT_FLOW_SOURCE_UPLINK; in ipsec_rx_status_drop_create()
241 spec->flow_context.flow_source = MLX5_FLOW_CONTEXT_FLOW_SOURCE_UPLINK; in ipsec_rx_status_pass_create()
/openbmc/qemu/hw/net/rocker/
H A Drocker_of_dpa.c2291 struct of_dpa_flow_fill_context *flow_context = user_data; in of_dpa_flow_fill() local
2297 if (flow_context->tbl_id != -1 && in of_dpa_flow_fill()
2298 flow_context->tbl_id != key->tbl_id) { in of_dpa_flow_fill()
2413 QAPI_LIST_PREPEND(flow_context->list, nflow); in of_dpa_flow_fill()
2456 struct of_dpa_group_fill_context *flow_context = user_data; in of_dpa_group_fill() local
2460 if (flow_context->type != 9 && in of_dpa_group_fill()
2461 flow_context->type != ROCKER_GROUP_TYPE_GET(group->id)) { in of_dpa_group_fill()
2535 QAPI_LIST_PREPEND(flow_context->list, ngroup); in of_dpa_group_fill()
/openbmc/linux/include/linux/mlx5/
H A Dfs.h148 struct mlx5_flow_context flow_context; member
H A Dmlx5_ifc.h4837 struct mlx5_ifc_flow_context_bits flow_context; member
6056 struct mlx5_ifc_flow_context_bits flow_context; member
/openbmc/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()
H A Dbridge.c758 rule_spec->flow_context.flow_source = in mlx5_esw_bridge_egress_flow_create()
/openbmc/u-boot/include/fsl-mc/
H A Dfsl_dpni.h1053 uint64_t flow_context; member
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_ct.c488 spec->flow_context.flow_source = in mlx5_tc_ct_set_tuple_match()