* |WARNING| pw133645-133650 [PATCH] [v3, 6/6] net/mlx5/hws: add stc reparse support for srv6 push pop
@ 2023-10-31 11:10 dpdklab
0 siblings, 0 replies; only message in thread
From: dpdklab @ 2023-10-31 11:10 UTC (permalink / raw)
To: test-report; +Cc: dpdk-test-reports
Test-Label: iol-testing
Test-Status: WARNING
http://dpdk.org/patch/133645
_apply patch failure_
Submitter: Rongwei Liu <rongweil@nvidia.com>
Date: Tuesday, October 31 2023 10:51:31
Applied on: CommitID:7e9df748fa2e7c4f87d717bc8963046ced6af875
Apply patch set 133645-133650 failed:
Checking patch drivers/net/mlx5/hws/mlx5dr_action.c...
Hunk #1 succeeded at 1486 (offset -776 lines).
error: while searching for:
reformat_hdrs, log_bulk_size);
if (ret) {
DR_LOG(ERR, "Failed to create HWS reformat action");
rte_errno = EINVAL;
goto free_reformat_hdrs;
}
error: patch failed: drivers/net/mlx5/hws/mlx5dr_action.c:2309
Applying patch drivers/net/mlx5/hws/mlx5dr_action.c with 1 reject...
Hunk #1 applied cleanly.
Rejected hunk #2.
hint: Use 'git am --show-current-patch' to see the failed patch
diff a/drivers/net/mlx5/hws/mlx5dr_action.c b/drivers/net/mlx5/hws/mlx5dr_action.c (rejected hunks)
@@ -2309,7 +2310,6 @@ mlx5dr_action_create_insert_header(struct mlx5dr_context *ctx,
reformat_hdrs, log_bulk_size);
if (ret) {
DR_LOG(ERR, "Failed to create HWS reformat action");
- rte_errno = EINVAL;
goto free_reformat_hdrs;
}
Checking patch drivers/common/mlx5/mlx5_prm.h...
Hunk #1 succeeded at 3555 (offset -31 lines).
Checking patch drivers/net/mlx5/hws/mlx5dr.h...
error: while searching for:
MLX5DR_ACTION_TYP_REMOVE_HEADER,
MLX5DR_ACTION_TYP_DEST_ROOT,
MLX5DR_ACTION_TYP_DEST_ARRAY,
MLX5DR_ACTION_TYP_MAX,
};
error: patch failed: drivers/net/mlx5/hws/mlx5dr.h:54
Hunk #2 succeeded at 203 (offset -77 lines).
error: while searching for:
struct mlx5dr_action_remove_header_attr *attr,
uint32_t flags);
/* Destroy direct rule action.
*
* @param[in] action
error: patch failed: drivers/net/mlx5/hws/mlx5dr.h:889
Checking patch drivers/net/mlx5/hws/mlx5dr_action.c...
error: drivers/net/mlx5/hws/mlx5dr_action.c: does not match index
Checking patch drivers/net/mlx5/hws/mlx5dr_action.h...
error: while searching for:
uint8_t offset;
bool encap;
} reformat;
struct {
struct mlx5dr_devx_obj *devx_obj;
uint8_t return_reg_id;
error: patch failed: drivers/net/mlx5/hws/mlx5dr_action.h:143
Checking patch drivers/net/mlx5/hws/mlx5dr_debug.c...
error: while searching for:
[MLX5DR_ACTION_TYP_CRYPTO_DECRYPT] = "CRYPTO_DECRYPT",
[MLX5DR_ACTION_TYP_INSERT_HEADER] = "INSERT_HEADER",
[MLX5DR_ACTION_TYP_REMOVE_HEADER] = "REMOVE_HEADER",
};
static_assert(ARRAY_SIZE(mlx5dr_debug_action_type_str) == MLX5DR_ACTION_TYP_MAX,
error: patch failed: drivers/net/mlx5/hws/mlx5dr_debug.c:31
Checking patch drivers/net/mlx5/mlx5_flow.h...
Applied patch drivers/common/mlx5/mlx5_prm.h cleanly.
Applying patch drivers/net/mlx5/hws/mlx5dr.h with 2 rejects...
Rejected hunk #1.
Hunk #2 applied cleanly.
Rejected hunk #3.
Applying patch drivers/net/mlx5/hws/mlx5dr_action.h with 1 reject...
Hunk #1 applied cleanly.
Rejected hunk #2.
Applying patch drivers/net/mlx5/hws/mlx5dr_debug.c with 1 reject...
Rejected hunk #1.
Applied patch drivers/net/mlx5/mlx5_flow.h cleanly.
hint: Use 'git am --show-current-patch' to see the failed patch
diff a/drivers/net/mlx5/hws/mlx5dr.h b/drivers/net/mlx5/hws/mlx5dr.h (rejected hunks)
@@ -54,6 +54,8 @@ enum mlx5dr_action_type {
MLX5DR_ACTION_TYP_REMOVE_HEADER,
MLX5DR_ACTION_TYP_DEST_ROOT,
MLX5DR_ACTION_TYP_DEST_ARRAY,
+ MLX5DR_ACTION_TYP_POP_IPV6_ROUTE_EXT,
+ MLX5DR_ACTION_TYP_PUSH_IPV6_ROUTE_EXT,
MLX5DR_ACTION_TYP_MAX,
};
@@ -889,6 +896,28 @@ mlx5dr_action_create_remove_header(struct mlx5dr_context *ctx,
struct mlx5dr_action_remove_header_attr *attr,
uint32_t flags);
+/* Create action to push or remove IPv6 extension header.
+ *
+ * @param[in] ctx
+ * The context in which the new action will be created.
+ * @param[in] type
+ * Type of direct rule action: MLX5DR_ACTION_TYP_PUSH_IPV6_ROUTE_EXT or
+ * MLX5DR_ACTION_TYP_POP_IPV6_ROUTE_EXT.
+ * @param[in] hdr
+ * Header for packet reformat.
+ * @param[in] log_bulk_size
+ * Number of unique values used with this pattern.
+ * @param[in] flags
+ * Action creation flags. (enum mlx5dr_action_flags)
+ * @return pointer to mlx5dr_action on success NULL otherwise.
+ */
+struct mlx5dr_action *
+mlx5dr_action_create_reformat_ipv6_ext(struct mlx5dr_context *ctx,
+ enum mlx5dr_action_type type,
+ struct mlx5dr_action_reformat_header *hdr,
+ uint32_t log_bulk_size,
+ uint32_t flags);
+
/* Destroy direct rule action.
*
* @param[in] action
diff a/drivers/net/mlx5/hws/mlx5dr_action.h b/drivers/net/mlx5/hws/mlx5dr_action.h (rejected hunks)
@@ -143,6 +146,10 @@ struct mlx5dr_action {
uint8_t offset;
bool encap;
} reformat;
+ struct {
+ struct mlx5dr_action
+ *action[MLX5DR_ACTION_IPV6_EXT_MAX_SA];
+ } ipv6_route_ext;
struct {
struct mlx5dr_devx_obj *devx_obj;
uint8_t return_reg_id;
diff a/drivers/net/mlx5/hws/mlx5dr_debug.c b/drivers/net/mlx5/hws/mlx5dr_debug.c (rejected hunks)
@@ -31,6 +31,8 @@ const char *mlx5dr_debug_action_type_str[] = {
[MLX5DR_ACTION_TYP_CRYPTO_DECRYPT] = "CRYPTO_DECRYPT",
[MLX5DR_ACTION_TYP_INSERT_HEADER] = "INSERT_HEADER",
[MLX5DR_ACTION_TYP_REMOVE_HEADER] = "REMOVE_HEADER",
+ [MLX5DR_ACTION_TYP_POP_IPV6_ROUTE_EXT] = "POP_IPV6_ROUTE_EXT",
+ [MLX5DR_ACTION_TYP_PUSH_IPV6_ROUTE_EXT] = "PUSH_IPV6_ROUTE_EXT",
};
static_assert(ARRAY_SIZE(mlx5dr_debug_action_type_str) == MLX5DR_ACTION_TYP_MAX,
Checking patch drivers/net/mlx5/hws/mlx5dr_action.c...
error: drivers/net/mlx5/hws/mlx5dr_action.c: does not match index
Checking patch drivers/net/mlx5/hws/mlx5dr_action.h...
error: drivers/net/mlx5/hws/mlx5dr_action.h: does not match index
hint: Use 'git am --show-current-patch' to see the failed patch
Checking patch doc/guides/nics/features/mlx5.ini...
Checking patch doc/guides/nics/mlx5.rst...
Checking patch doc/guides/rel_notes/release_23_11.rst...
Checking patch drivers/net/mlx5/mlx5.h...
Checking patch drivers/net/mlx5/mlx5_flow.h...
error: drivers/net/mlx5/mlx5_flow.h: does not match index
Checking patch drivers/net/mlx5/mlx5_flow_hw.c...
Applied patch doc/guides/nics/features/mlx5.ini cleanly.
Applied patch doc/guides/nics/mlx5.rst cleanly.
Applied patch doc/guides/rel_notes/release_23_11.rst cleanly.
Applied patch drivers/net/mlx5/mlx5.h cleanly.
Applied patch drivers/net/mlx5/mlx5_flow_hw.c cleanly.
hint: Use 'git am --show-current-patch' to see the failed patch
Checking patch drivers/net/mlx5/hws/mlx5dr_action.c...
error: drivers/net/mlx5/hws/mlx5dr_action.c: does not match index
Checking patch drivers/net/mlx5/hws/mlx5dr_action.h...
error: drivers/net/mlx5/hws/mlx5dr_action.h: does not match index
hint: Use 'git am --show-current-patch' to see the failed patch
https://lab.dpdk.org/results/dashboard/patchsets/28156/
UNH-IOL DPDK Community Lab
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-10-31 11:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-31 11:10 |WARNING| pw133645-133650 [PATCH] [v3, 6/6] net/mlx5/hws: add stc reparse support for srv6 push pop dpdklab
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).