/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_cmd.c | 304 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 …]
|
D | fs_dr.c | 394 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()
|
D | dr_fw.c | 143 fte_info.flow_context.flow_source = flow_source; in mlx5dr_fw_create_md_tbl()
|
D | dr_types.h | 1433 struct mlx5_flow_context flow_context; member
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ |
D | fs_cmd.c | 493 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 …]
|
D | fs_core.c | 736 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()
|
D | fs_core.h | 231 struct mlx5_flow_context flow_context; member
|
D | eswitch_offloads_termtbl.c | 203 return spec->flow_context.flow_source == in mlx5_eswitch_offload_is_uplink_port()
|
D | eswitch_offloads.c | 96 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()
|
D | en_fs.c | 371 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()
|
D | en_fs_ethtool.c | 498 spec->flow_context.flow_tag = MLX5_FS_DEFAULT_FLOW_TAG; in add_ethtool_flow_rule()
|
D | en_tc.c | 1137 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/ |
D | int_port.c | 66 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()
|
D | ct_fs_smfs.c | 333 spec->flow_context.flow_source); in mlx5_ct_fs_smfs_ct_rule_add()
|
/linux-6.1.9/drivers/infiniband/hw/mlx5/ |
D | fs.c | 190 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/ |
D | fs_tracepoint.h | 208 __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/ |
D | fs_tcp.c | 134 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/ |
D | fs.h | 138 struct mlx5_flow_context flow_context; member
|
D | mlx5_ifc.h | 4724 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/ |
D | bridge.c | 830 rule_spec->flow_context.flow_source = in mlx5_esw_bridge_egress_flow_create()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | tc_ct.c | 493 spec->flow_context.flow_source = in mlx5_tc_ct_set_tuple_match()
|