Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Ddr_cmd.c199 in_flow_context = MLX5_ADDR_OF(set_fte_in, in, flow_context); in mlx5dr_cmd_set_fte_modify_and_vport()
200 MLX5_SET(flow_context, in_flow_context, group_id, group_id); in mlx5dr_cmd_set_fte_modify_and_vport()
201 MLX5_SET(flow_context, in_flow_context, modify_header_id, modify_header_id); in mlx5dr_cmd_set_fte_modify_and_vport()
202 MLX5_SET(flow_context, in_flow_context, destination_list_size, 1); in mlx5dr_cmd_set_fte_modify_and_vport()
203 MLX5_SET(flow_context, in_flow_context, action, in mlx5dr_cmd_set_fte_modify_and_vport()
207 in_dests = MLX5_ADDR_OF(flow_context, in_flow_context, destination); in mlx5dr_cmd_set_fte_modify_and_vport()
562 in_flow_context = MLX5_ADDR_OF(set_fte_in, in, flow_context); in mlx5dr_cmd_set_fte()
563 MLX5_SET(flow_context, in_flow_context, group_id, group_id); in mlx5dr_cmd_set_fte()
565 MLX5_SET(flow_context, in_flow_context, flow_tag, in mlx5dr_cmd_set_fte()
566 fte->flow_context.flow_tag); in mlx5dr_cmd_set_fte()
[all …]
H A Dfs_dr.c372 if (fte->flow_context.flow_tag) { in mlx5_cmd_dr_create_fte()
374 mlx5dr_action_create_tag(fte->flow_context.flow_tag); in mlx5_cmd_dr_create_fte()
490 fte->flow_context.flow_source); in mlx5_cmd_dr_create_fte()
H A Ddr_types.h1123 struct mlx5_flow_context flow_context; member
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfs_cmd.c435 in_flow_context = MLX5_ADDR_OF(set_fte_in, in, flow_context); in mlx5_cmd_set_fte()
436 MLX5_SET(flow_context, in_flow_context, group_id, group_id); in mlx5_cmd_set_fte()
438 MLX5_SET(flow_context, in_flow_context, flow_tag, in mlx5_cmd_set_fte()
439 fte->flow_context.flow_tag); in mlx5_cmd_set_fte()
440 MLX5_SET(flow_context, in_flow_context, flow_source, in mlx5_cmd_set_fte()
441 fte->flow_context.flow_source); in mlx5_cmd_set_fte()
443 MLX5_SET(flow_context, in_flow_context, extended_destination, in mlx5_cmd_set_fte()
450 MLX5_SET(flow_context, in_flow_context, action, action); in mlx5_cmd_set_fte()
452 MLX5_SET(flow_context, in_flow_context, action, in mlx5_cmd_set_fte()
455 MLX5_SET(flow_context, in_flow_context, packet_reformat_id, in mlx5_cmd_set_fte()
[all …]
H A Dfs_core.c677 fte->flow_context = spec->flow_context; in alloc_fte()
1575 const struct mlx5_flow_context *flow_context, in check_conflicting_ftes() argument
1584 if ((flow_context->flags & FLOW_CONTEXT_HAS_TAG) && in check_conflicting_ftes()
1585 fte->flow_context.flow_tag != flow_context->flow_tag) { in check_conflicting_ftes()
1588 fte->flow_context.flow_tag, in check_conflicting_ftes()
1589 flow_context->flow_tag); in check_conflicting_ftes()
1608 ret = check_conflicting_ftes(fte, &spec->flow_context, flow_act); in add_rule_fg()
H A Dfs_core.h216 struct mlx5_flow_context flow_context; member
H A Deswitch_offloads.c251 spec->flow_context.flow_source = in mlx5_eswitch_set_rule_flow_source()
1095 struct mlx5_flow_context *flow_context; in esw_add_restore_rule() local
1120 flow_context = &spec->flow_context; in esw_add_restore_rule()
1121 flow_context->flags |= FLOW_CONTEXT_HAS_TAG; in esw_add_restore_rule()
1122 flow_context->flow_tag = tag; in esw_add_restore_rule()
H A Deswitch_offloads_termtbl.c202 return spec->flow_context.flow_source == in mlx5_eswitch_offload_is_uplink_port()
H A Den_fs_ethtool.c442 spec->flow_context.flow_tag = MLX5_FS_DEFAULT_FLOW_TAG; in add_ethtool_flow_rule()
H A Den_tc.c969 struct mlx5_flow_context *flow_context = &spec->flow_context; in mlx5e_add_offloaded_nic_rule() local
982 flow_context->flags |= FLOW_CONTEXT_HAS_TAG; in mlx5e_add_offloaded_nic_rule()
983 flow_context->flow_tag = nic_attr->flow_tag; in mlx5e_add_offloaded_nic_rule()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/mlx5/
H A Dfs.c199 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()
1390 struct mlx5_flow_context *flow_context, in _create_raw_flow_rule() argument
1413 spec->flow_context = *flow_context; in _create_raw_flow_rule()
1477 struct mlx5_flow_context *flow_context, struct mlx5_flow_act *flow_act, in raw_fs_rule_add() argument
1532 fs_matcher, flow_context, flow_act, in raw_fs_rule_add()
[all …]
/OK3568_Linux_fs/u-boot/include/fsl-mc/
H A Dfsl_dpni.h404 MC_CMD_OP(cmd, 4, 0, 64, uint64_t, cfg->flc_cfg.flow_context);\
431 MC_RSP_OP(cmd, 4, 0, 64, uint64_t, attr->flc_cfg.flow_context);\
455 cfg->queue_cfg.flc_cfg.flow_context); \
483 attr->queue_attr.flc_cfg.flow_context); \
1431 uint64_t flow_context; member
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/diag/
H A Dfs_tracepoint.h208 __entry->flow_tag = fte->flow_context.flow_tag;
209 __entry->flow_source = fte->flow_context.flow_source;
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dfs_tcp.c136 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()
/OK3568_Linux_fs/kernel/include/linux/mlx5/
H A Dfs.h114 struct mlx5_flow_context flow_context; member
H A Dmlx5_ifc.h4268 struct mlx5_ifc_flow_context_bits flow_context; member
5442 struct mlx5_ifc_flow_context_bits flow_context; member
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/fpga/
H A Dipsec.c643 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()