| /linux/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
| A D | dr_cmd.c | 297 in_flow_context = MLX5_ADDR_OF(set_fte_in, in, flow_context); in mlx5dr_cmd_set_fte_modify_and_vport() 298 MLX5_SET(flow_context, in_flow_context, group_id, group_id); in mlx5dr_cmd_set_fte_modify_and_vport() 301 MLX5_SET(flow_context, in_flow_context, action, in mlx5dr_cmd_set_fte_modify_and_vport() 667 MLX5_SET(flow_context, in_flow_context, group_id, group_id); in mlx5dr_cmd_set_fte() 669 MLX5_SET(flow_context, in_flow_context, flow_tag, in mlx5dr_cmd_set_fte() 670 fte->flow_context.flow_tag); in mlx5dr_cmd_set_fte() 671 MLX5_SET(flow_context, in_flow_context, flow_source, in mlx5dr_cmd_set_fte() 672 fte->flow_context.flow_source); in mlx5dr_cmd_set_fte() 681 MLX5_SET(flow_context, in_flow_context, action, action); in mlx5dr_cmd_set_fte() 683 MLX5_SET(flow_context, in_flow_context, action, in mlx5dr_cmd_set_fte() [all …]
|
| A 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()
|
| A D | dr_types.h | 1343 struct mlx5_flow_context flow_context; member
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| A D | fs_cmd.c | 517 in_flow_context = MLX5_ADDR_OF(set_fte_in, in, flow_context); in mlx5_cmd_set_fte() 518 MLX5_SET(flow_context, in_flow_context, group_id, group_id); in mlx5_cmd_set_fte() 520 MLX5_SET(flow_context, in_flow_context, flow_tag, in mlx5_cmd_set_fte() 521 fte->flow_context.flow_tag); in mlx5_cmd_set_fte() 522 MLX5_SET(flow_context, in_flow_context, flow_source, in mlx5_cmd_set_fte() 523 fte->flow_context.flow_source); in mlx5_cmd_set_fte() 525 MLX5_SET(flow_context, in_flow_context, extended_destination, in mlx5_cmd_set_fte() 532 MLX5_SET(flow_context, in_flow_context, action, action); in mlx5_cmd_set_fte() 534 MLX5_SET(flow_context, in_flow_context, action, in mlx5_cmd_set_fte() 541 MLX5_SET(flow_context, in_flow_context, modify_header_id, in mlx5_cmd_set_fte() [all …]
|
| A D | fs_core.c | 710 fte->flow_context = spec->flow_context; in alloc_fte() 1585 const struct mlx5_flow_context *flow_context, in check_conflicting_ftes() argument 1594 if ((flow_context->flags & FLOW_CONTEXT_HAS_TAG) && in check_conflicting_ftes() 1595 fte->flow_context.flow_tag != flow_context->flow_tag) { in check_conflicting_ftes() 1598 fte->flow_context.flow_tag, in check_conflicting_ftes() 1599 flow_context->flow_tag); in check_conflicting_ftes() 1618 ret = check_conflicting_ftes(fte, &spec->flow_context, flow_act); in add_rule_fg()
|
| A D | fs_core.h | 225 struct mlx5_flow_context flow_context; member
|
| A D | eswitch_offloads.c | 93 spec->flow_context.flow_source = mlx5e_tc_int_port_get_flow_source(attr->int_port); in mlx5_eswitch_set_rule_flow_source() 98 spec->flow_context.flow_source = (attr->in_rep->vport == MLX5_VPORT_UPLINK) ? in mlx5_eswitch_set_rule_flow_source() 1007 spec->flow_context.flow_source = MLX5_FLOW_CONTEXT_FLOW_SOURCE_LOCAL_VPORT; in mlx5_eswitch_add_send_to_vport_rule() 1398 struct mlx5_flow_context *flow_context; in esw_add_restore_rule() local 1423 flow_context = &spec->flow_context; in esw_add_restore_rule() 1424 flow_context->flags |= FLOW_CONTEXT_HAS_TAG; in esw_add_restore_rule() 1425 flow_context->flow_tag = tag; in esw_add_restore_rule()
|
| A D | eswitch_offloads_termtbl.c | 201 return spec->flow_context.flow_source == in mlx5_eswitch_offload_is_uplink_port()
|
| A 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()
|
| A D | en_fs_ethtool.c | 488 spec->flow_context.flow_tag = MLX5_FS_DEFAULT_FLOW_TAG; in add_ethtool_flow_rule()
|
| A D | en_tc.c | 943 struct mlx5_flow_context *flow_context = &spec->flow_context; in mlx5e_add_offloaded_nic_rule() local 956 flow_context->flags |= FLOW_CONTEXT_HAS_TAG; in mlx5e_add_offloaded_nic_rule() 957 flow_context->flow_tag = nic_attr->flow_tag; in mlx5e_add_offloaded_nic_rule()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
| A 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()
|
| /linux/drivers/infiniband/hw/mlx5/ |
| A D | fs.c | 201 struct mlx5_flow_context *flow_context = &spec->flow_context; in parse_flow_attr() local 522 flow_context->flow_tag = ib_spec->flow_tag.tag_id; in parse_flow_attr() 523 flow_context->flags |= FLOW_CONTEXT_HAS_TAG; in parse_flow_attr() 1196 spec->flow_context.flow_tag, flow_attr->type); in _create_flow_rule() 1576 struct mlx5_flow_context *flow_context, in _create_raw_flow_rule() argument 1599 spec->flow_context = *flow_context; in _create_raw_flow_rule() 1718 fs_matcher, flow_context, flow_act, in raw_fs_rule_add() 2112 struct mlx5_flow_context flow_context = {.flow_tag = in UVERBS_HANDLER() local 2194 ret = uverbs_copy_from(&flow_context.flow_tag, attrs, in UVERBS_HANDLER() 2197 if (flow_context.flow_tag >= BIT(24)) { in UVERBS_HANDLER() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
| A D | fs_tracepoint.h | 208 __entry->flow_tag = fte->flow_context.flow_tag; 209 __entry->flow_source = fte->flow_context.flow_source;
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
| A 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/include/linux/mlx5/ |
| A D | fs.h | 123 struct mlx5_flow_context flow_context; member
|
| A D | mlx5_ifc.h | 4542 struct mlx5_ifc_flow_context_bits flow_context; member 5718 struct mlx5_ifc_flow_context_bits flow_context; member
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
| A 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()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
| A D | bridge.c | 682 rule_spec->flow_context.flow_source = in mlx5_esw_bridge_egress_flow_create()
|