Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_cmd.c304 in_flow_context = MLX5_ADDR_OF(set_fte_in, in, flow_context); in mlx5dr_cmd_set_fte_modify_and_vport()
305 MLX5_SET(flow_context, in_flow_context, group_id, group_id); in mlx5dr_cmd_set_fte_modify_and_vport()
306 MLX5_SET(flow_context, in_flow_context, modify_header_id, modify_header_id); in mlx5dr_cmd_set_fte_modify_and_vport()
307 MLX5_SET(flow_context, in_flow_context, destination_list_size, 1); in mlx5dr_cmd_set_fte_modify_and_vport()
308 MLX5_SET(flow_context, in_flow_context, action, in mlx5dr_cmd_set_fte_modify_and_vport()
312 in_dests = MLX5_ADDR_OF(flow_context, in_flow_context, destination); in mlx5dr_cmd_set_fte_modify_and_vport()
676 in_flow_context = MLX5_ADDR_OF(set_fte_in, in, flow_context); in mlx5dr_cmd_set_fte()
677 MLX5_SET(flow_context, in_flow_context, group_id, group_id); in mlx5dr_cmd_set_fte()
679 MLX5_SET(flow_context, in_flow_context, flow_tag, in mlx5dr_cmd_set_fte()
680 fte->flow_context.flow_tag); in mlx5dr_cmd_set_fte()
[all …]
Dfs_dr.c394 if (fte->flow_context.flow_tag) { in mlx5_cmd_dr_create_fte()
396 mlx5dr_action_create_tag(fte->flow_context.flow_tag); in mlx5_cmd_dr_create_fte()
544 u32 flow_source = fte->flow_context.flow_source; in mlx5_cmd_dr_create_fte()
568 fte->flow_context.flow_source); in mlx5_cmd_dr_create_fte()
Ddr_fw.c143 fte_info.flow_context.flow_source = flow_source; in mlx5dr_fw_create_md_tbl()
Ddr_types.h1433 struct mlx5_flow_context flow_context; member
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_cmd.c493 execute_aso = MLX5_ADDR_OF(flow_context, in_flow_context, in mlx5_cmd_set_fte_flow_meter()
553 in_flow_context = MLX5_ADDR_OF(set_fte_in, in, flow_context); in mlx5_cmd_set_fte()
554 MLX5_SET(flow_context, in_flow_context, group_id, group_id); in mlx5_cmd_set_fte()
556 MLX5_SET(flow_context, in_flow_context, flow_tag, in mlx5_cmd_set_fte()
557 fte->flow_context.flow_tag); in mlx5_cmd_set_fte()
558 MLX5_SET(flow_context, in_flow_context, flow_source, in mlx5_cmd_set_fte()
559 fte->flow_context.flow_source); in mlx5_cmd_set_fte()
561 MLX5_SET(flow_context, in_flow_context, extended_destination, in mlx5_cmd_set_fte()
568 MLX5_SET(flow_context, in_flow_context, action, action); in mlx5_cmd_set_fte()
570 MLX5_SET(flow_context, in_flow_context, action, in mlx5_cmd_set_fte()
[all …]
Dfs_core.c736 fte->flow_context = spec->flow_context; in alloc_fte()
1652 const struct mlx5_flow_context *flow_context, in check_conflicting_ftes() argument
1661 if ((flow_context->flags & FLOW_CONTEXT_HAS_TAG) && in check_conflicting_ftes()
1662 fte->flow_context.flow_tag != flow_context->flow_tag) { in check_conflicting_ftes()
1665 fte->flow_context.flow_tag, in check_conflicting_ftes()
1666 flow_context->flow_tag); in check_conflicting_ftes()
1685 ret = check_conflicting_ftes(fte, &spec->flow_context, flow_act); in add_rule_fg()
Dfs_core.h231 struct mlx5_flow_context flow_context; member
Deswitch_offloads_termtbl.c203 return spec->flow_context.flow_source == in mlx5_eswitch_offload_is_uplink_port()
Deswitch_offloads.c96 spec->flow_context.flow_source = mlx5e_tc_int_port_get_flow_source(attr->int_port); in mlx5_eswitch_set_rule_flow_source()
101 spec->flow_context.flow_source = (attr->in_rep->vport == MLX5_VPORT_UPLINK) ? in mlx5_eswitch_set_rule_flow_source()
1047 spec->flow_context.flow_source = MLX5_FLOW_CONTEXT_FLOW_SOURCE_LOCAL_VPORT; in mlx5_eswitch_add_send_to_vport_rule()
1402 struct mlx5_flow_context *flow_context; in esw_add_restore_rule() local
1427 flow_context = &spec->flow_context; in esw_add_restore_rule()
1428 flow_context->flags |= FLOW_CONTEXT_HAS_TAG; in esw_add_restore_rule()
1429 flow_context->flow_tag = tag; in esw_add_restore_rule()
Den_fs.c371 spec->flow_context.flags |= FLOW_CONTEXT_HAS_TAG; in mlx5e_add_trap_rule()
372 spec->flow_context.flow_tag = trap_id; in mlx5e_add_trap_rule()
Den_fs_ethtool.c498 spec->flow_context.flow_tag = MLX5_FS_DEFAULT_FLOW_TAG; in add_ethtool_flow_rule()
Den_tc.c1137 struct mlx5_flow_context *flow_context = &spec->flow_context; in mlx5e_add_offloaded_nic_rule() local
1152 flow_context->flags |= FLOW_CONTEXT_HAS_TAG; in mlx5e_add_offloaded_nic_rule()
1153 flow_context->flow_tag = nic_attr->flow_tag; in mlx5e_add_offloaded_nic_rule()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
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()
Dct_fs_smfs.c333 spec->flow_context.flow_source); in mlx5_ct_fs_smfs_ct_rule_add()
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dfs.c190 struct mlx5_flow_context *flow_context = &spec->flow_context; in parse_flow_attr() local
504 flow_context->flow_tag = ib_spec->flow_tag.tag_id; in parse_flow_attr()
505 flow_context->flags |= FLOW_CONTEXT_HAS_TAG; in parse_flow_attr()
1137 if ((spec->flow_context.flags & FLOW_CONTEXT_HAS_TAG) && in _create_flow_rule()
1141 spec->flow_context.flow_tag, flow_attr->type); in _create_flow_rule()
1521 struct mlx5_flow_context *flow_context, in _create_raw_flow_rule() argument
1544 spec->flow_context = *flow_context; in _create_raw_flow_rule()
1608 struct mlx5_flow_context *flow_context, struct mlx5_flow_act *flow_act, in raw_fs_rule_add() argument
1664 fs_matcher, flow_context, flow_act, in raw_fs_rule_add()
1908 struct mlx5_flow_context flow_context = {.flow_tag = in UVERBS_HANDLER() local
[all …]
/linux-6.1.9/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-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
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()
/linux-6.1.9/include/linux/mlx5/
Dfs.h138 struct mlx5_flow_context flow_context; member
Dmlx5_ifc.h4724 struct mlx5_ifc_flow_context_bits flow_context; member
5899 struct mlx5_ifc_flow_context_bits flow_context; member
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dbridge.c830 rule_spec->flow_context.flow_source = in mlx5_esw_bridge_egress_flow_create()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_ct.c493 spec->flow_context.flow_source = in mlx5_tc_ct_set_tuple_match()