| /Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
| D | dr_cmd.c | 295 in_flow_context = MLX5_ADDR_OF(set_fte_in, in, flow_context); in mlx5dr_cmd_set_fte_modify_and_vport() 296 MLX5_SET(flow_context, in_flow_context, group_id, group_id); in mlx5dr_cmd_set_fte_modify_and_vport() 297 MLX5_SET(flow_context, in_flow_context, modify_header_id, modify_header_id); in mlx5dr_cmd_set_fte_modify_and_vport() 298 MLX5_SET(flow_context, in_flow_context, destination_list_size, 1); in mlx5dr_cmd_set_fte_modify_and_vport() 299 MLX5_SET(flow_context, in_flow_context, action, in mlx5dr_cmd_set_fte_modify_and_vport() 303 in_dests = MLX5_ADDR_OF(flow_context, in_flow_context, destination); in mlx5dr_cmd_set_fte_modify_and_vport() 664 in_flow_context = MLX5_ADDR_OF(set_fte_in, in, flow_context); in mlx5dr_cmd_set_fte() 665 MLX5_SET(flow_context, in_flow_context, group_id, group_id); in mlx5dr_cmd_set_fte() 667 MLX5_SET(flow_context, in_flow_context, flow_tag, in mlx5dr_cmd_set_fte() 668 fte->flow_context.flow_tag); in mlx5dr_cmd_set_fte() [all …]
|
| D | fs_dr.c | 379 if (fte->flow_context.flow_tag) { in mlx5_cmd_dr_create_fte() 381 mlx5dr_action_create_tag(fte->flow_context.flow_tag); in mlx5_cmd_dr_create_fte() 512 fte->flow_context.flow_source); in mlx5_cmd_dr_create_fte()
|
| D | dr_types.h | 1352 struct mlx5_flow_context flow_context; member
|
| /Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/ |
| D | fs_cmd.c | 503 in_flow_context = MLX5_ADDR_OF(set_fte_in, in, flow_context); in mlx5_cmd_set_fte() 504 MLX5_SET(flow_context, in_flow_context, group_id, group_id); in mlx5_cmd_set_fte() 506 MLX5_SET(flow_context, in_flow_context, flow_tag, in mlx5_cmd_set_fte() 507 fte->flow_context.flow_tag); in mlx5_cmd_set_fte() 508 MLX5_SET(flow_context, in_flow_context, flow_source, in mlx5_cmd_set_fte() 509 fte->flow_context.flow_source); in mlx5_cmd_set_fte() 511 MLX5_SET(flow_context, in_flow_context, extended_destination, in mlx5_cmd_set_fte() 518 MLX5_SET(flow_context, in_flow_context, action, action); in mlx5_cmd_set_fte() 520 MLX5_SET(flow_context, in_flow_context, action, in mlx5_cmd_set_fte() 523 MLX5_SET(flow_context, in_flow_context, packet_reformat_id, in mlx5_cmd_set_fte() [all …]
|
| D | fs_core.c | 678 fte->flow_context = spec->flow_context; in alloc_fte() 1553 const struct mlx5_flow_context *flow_context, in check_conflicting_ftes() argument 1562 if ((flow_context->flags & FLOW_CONTEXT_HAS_TAG) && in check_conflicting_ftes() 1563 fte->flow_context.flow_tag != flow_context->flow_tag) { in check_conflicting_ftes() 1566 fte->flow_context.flow_tag, in check_conflicting_ftes() 1567 flow_context->flow_tag); in check_conflicting_ftes() 1586 ret = check_conflicting_ftes(fte, &spec->flow_context, flow_act); in add_rule_fg()
|
| D | fs_core.h | 218 struct mlx5_flow_context flow_context; member
|
| D | eswitch_offloads_termtbl.c | 201 return spec->flow_context.flow_source == in mlx5_eswitch_offload_is_uplink_port()
|
| D | eswitch_offloads.c | 91 spec->flow_context.flow_source = in mlx5_eswitch_set_rule_flow_source() 966 spec->flow_context.flow_source = MLX5_FLOW_CONTEXT_FLOW_SOURCE_LOCAL_VPORT; in mlx5_eswitch_add_send_to_vport_rule() 1357 struct mlx5_flow_context *flow_context; in esw_add_restore_rule() local 1382 flow_context = &spec->flow_context; in esw_add_restore_rule() 1383 flow_context->flags |= FLOW_CONTEXT_HAS_TAG; in esw_add_restore_rule() 1384 flow_context->flow_tag = tag; in esw_add_restore_rule()
|
| D | en_fs.c | 345 spec->flow_context.flags |= FLOW_CONTEXT_HAS_TAG; in mlx5e_add_trap_rule() 346 spec->flow_context.flow_tag = trap_id; in mlx5e_add_trap_rule()
|
| D | en_fs_ethtool.c | 488 spec->flow_context.flow_tag = MLX5_FS_DEFAULT_FLOW_TAG; in add_ethtool_flow_rule()
|
| D | en_tc.c | 928 struct mlx5_flow_context *flow_context = &spec->flow_context; in mlx5e_add_offloaded_nic_rule() local 941 flow_context->flags |= FLOW_CONTEXT_HAS_TAG; in mlx5e_add_offloaded_nic_rule() 942 flow_context->flow_tag = nic_attr->flow_tag; in mlx5e_add_offloaded_nic_rule()
|
| /Linux-v5.15/drivers/infiniband/hw/mlx5/ |
| D | fs.c | 199 struct mlx5_flow_context *flow_context = &spec->flow_context; in parse_flow_attr() local 520 flow_context->flow_tag = ib_spec->flow_tag.tag_id; in parse_flow_attr() 521 flow_context->flags |= FLOW_CONTEXT_HAS_TAG; in parse_flow_attr() 616 !(spec->flow_context.flags & FLOW_CONTEXT_HAS_TAG))) ? in is_valid_esp_aes_gcm() 1005 if ((spec->flow_context.flags & FLOW_CONTEXT_HAS_TAG) && in _create_flow_rule() 1009 spec->flow_context.flow_tag, flow_attr->type); in _create_flow_rule() 1389 struct mlx5_flow_context *flow_context, in _create_raw_flow_rule() argument 1412 spec->flow_context = *flow_context; in _create_raw_flow_rule() 1476 struct mlx5_flow_context *flow_context, struct mlx5_flow_act *flow_act, in raw_fs_rule_add() argument 1531 fs_matcher, flow_context, flow_act, in raw_fs_rule_add() [all …]
|
| /Linux-v5.15/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-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
| D | fs_tcp.c | 136 spec->flow_context.flow_tag = flow_tag; in mlx5e_accel_fs_add_sk() 137 spec->flow_context.flags = FLOW_CONTEXT_HAS_TAG; in mlx5e_accel_fs_add_sk()
|
| /Linux-v5.15/include/linux/mlx5/ |
| D | fs.h | 119 struct mlx5_flow_context flow_context; member
|
| D | mlx5_ifc.h | 4418 struct mlx5_ifc_flow_context_bits flow_context; member 5594 struct mlx5_ifc_flow_context_bits flow_context; member
|
| /Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
| D | ipsec.c | 643 struct mlx5_flow_context *flow_context) in mlx5_is_fpga_egress_ipsec_rule() argument 662 (flow_context->flags & FLOW_CONTEXT_HAS_TAG)) in mlx5_is_fpga_egress_ipsec_rule() 786 &fte->flow_context)) in mlx5_fpga_ipsec_fs_create_sa_ctx()
|