| /Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/ |
| D | fs_cmd.c | 440 in_flow_context = MLX5_ADDR_OF(set_fte_in, in, flow_context); in mlx5_cmd_set_fte() 441 MLX5_SET(flow_context, in_flow_context, group_id, group_id); in mlx5_cmd_set_fte() 443 MLX5_SET(flow_context, in_flow_context, flow_tag, in mlx5_cmd_set_fte() 444 fte->flow_context.flow_tag); in mlx5_cmd_set_fte() 445 MLX5_SET(flow_context, in_flow_context, flow_source, in mlx5_cmd_set_fte() 446 fte->flow_context.flow_source); in mlx5_cmd_set_fte() 448 MLX5_SET(flow_context, in_flow_context, extended_destination, in mlx5_cmd_set_fte() 455 MLX5_SET(flow_context, in_flow_context, action, action); in mlx5_cmd_set_fte() 457 MLX5_SET(flow_context, in_flow_context, action, in mlx5_cmd_set_fte() 460 MLX5_SET(flow_context, in_flow_context, packet_reformat_id, in mlx5_cmd_set_fte() [all …]
|
| D | fs_core.c | 630 fte->flow_context = spec->flow_context; in alloc_fte() 1469 const struct mlx5_flow_context *flow_context, in check_conflicting_ftes() argument 1478 if ((flow_context->flags & FLOW_CONTEXT_HAS_TAG) && in check_conflicting_ftes() 1479 fte->flow_context.flow_tag != flow_context->flow_tag) { in check_conflicting_ftes() 1482 fte->flow_context.flow_tag, in check_conflicting_ftes() 1483 flow_context->flow_tag); in check_conflicting_ftes() 1502 ret = check_conflicting_ftes(fte, &spec->flow_context, flow_act); in add_rule_fg()
|
| D | fs_core.h | 201 struct mlx5_flow_context flow_context; member
|
| D | eswitch_offloads_termtbl.c | 186 return spec->flow_context.flow_source == in mlx5_eswitch_offload_is_uplink_port()
|
| D | en_fs_ethtool.c | 439 spec->flow_context.flow_tag = MLX5_FS_DEFAULT_FLOW_TAG; in add_ethtool_flow_rule()
|
| D | en_tc.c | 903 struct mlx5_flow_context *flow_context = &parse_attr->spec.flow_context; in mlx5e_tc_add_nic_flow() local 914 flow_context->flags |= FLOW_CONTEXT_HAS_TAG; in mlx5e_tc_add_nic_flow() 915 flow_context->flow_tag = attr->flow_tag; in mlx5e_tc_add_nic_flow()
|
| D | eswitch_offloads.c | 135 spec->flow_context.flow_source = MLX5_FLOW_CONTEXT_FLOW_SOURCE_UPLINK; in mlx5_eswitch_set_rule_source_port()
|
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
| D | dr_cmd.c | 194 in_flow_context = MLX5_ADDR_OF(set_fte_in, in, flow_context); in mlx5dr_cmd_set_fte_modify_and_vport() 195 MLX5_SET(flow_context, in_flow_context, group_id, group_id); in mlx5dr_cmd_set_fte_modify_and_vport() 196 MLX5_SET(flow_context, in_flow_context, modify_header_id, modify_header_id); in mlx5dr_cmd_set_fte_modify_and_vport() 197 MLX5_SET(flow_context, in_flow_context, destination_list_size, 1); in mlx5dr_cmd_set_fte_modify_and_vport() 198 MLX5_SET(flow_context, in_flow_context, action, in mlx5dr_cmd_set_fte_modify_and_vport() 202 in_dests = MLX5_ADDR_OF(flow_context, in_flow_context, destination); in mlx5dr_cmd_set_fte_modify_and_vport()
|
| D | fs_dr.c | 341 if (fte->flow_context.flow_tag) { in mlx5_cmd_dr_create_fte() 343 mlx5dr_action_create_tag(fte->flow_context.flow_tag); in mlx5_cmd_dr_create_fte()
|
| /Linux-v5.4/drivers/infiniband/hw/mlx5/ |
| D | flow.c | 71 struct mlx5_flow_context flow_context = {.flow_tag = MLX5_FS_DEFAULT_FLOW_TAG}; in UVERBS_HANDLER() local 185 ret = uverbs_copy_from(&flow_context.flow_tag, attrs, in UVERBS_HANDLER() 188 if (flow_context.flow_tag >= BIT(24)) { in UVERBS_HANDLER() 192 flow_context.flags |= FLOW_CONTEXT_HAS_TAG; in UVERBS_HANDLER() 196 &flow_context, in UVERBS_HANDLER()
|
| D | main.c | 2686 struct mlx5_flow_context *flow_context = &spec->flow_context; in parse_flow_attr() local 3007 flow_context->flow_tag = ib_spec->flow_tag.tag_id; in parse_flow_attr() 3008 flow_context->flags |= FLOW_CONTEXT_HAS_TAG; in parse_flow_attr() 3103 !(spec->flow_context.flags & FLOW_CONTEXT_HAS_TAG))) ? in is_valid_esp_aes_gcm() 3620 if ((spec->flow_context.flags & FLOW_CONTEXT_HAS_TAG) && in _create_flow_rule() 3624 spec->flow_context.flow_tag, flow_attr->type); in _create_flow_rule() 4011 struct mlx5_flow_context *flow_context, in _create_raw_flow_rule() argument 4034 spec->flow_context = *flow_context; in _create_raw_flow_rule() 4099 struct mlx5_flow_context *flow_context, in mlx5_ib_raw_fs_rule_add() argument 4153 flow_context, flow_act, in mlx5_ib_raw_fs_rule_add()
|
| D | mlx5_ib.h | 1348 struct mlx5_flow_context *flow_context,
|
| /Linux-v5.4/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.4/include/linux/mlx5/ |
| D | fs.h | 108 struct mlx5_flow_context flow_context; member
|
| D | mlx5_ifc.h | 4009 struct mlx5_ifc_flow_context_bits flow_context; member 5167 struct mlx5_ifc_flow_context_bits flow_context; member
|
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
| D | ipsec.c | 640 struct mlx5_flow_context *flow_context) in mlx5_is_fpga_egress_ipsec_rule() argument 659 (flow_context->flags & FLOW_CONTEXT_HAS_TAG)) in mlx5_is_fpga_egress_ipsec_rule() 772 &fte->flow_context)) in mlx5_fpga_ipsec_fs_create_sa_ctx()
|