|WARNING| pw120401 [PATCH] drivers: add IPsec rule reservation scheme for cnxk
dpdklab at iol.unh.edu
dpdklab at iol.unh.edu
Thu Dec 1 05:38:05 CET 2022
Test-Label: iol-testing
Test-Status: WARNING
http://dpdk.org/patch/120401
_apply patch failure_
Submitter: Satheesh Paul Antonysamy <psatheesh at marvell.com>
Date: Thursday, December 01 2022 04:23:54
Applied on: CommitID:f262f16087ea6a77357a915cf4c0d10ddc7b6562
Apply patch set 120401 failed:
Checking patch doc/guides/nics/cnxk.rst...
Checking patch drivers/common/cnxk/roc_nix_inl.h...
Checking patch drivers/common/cnxk/roc_nix_inl_dev.c...
Checking patch drivers/common/cnxk/roc_nix_inl_priv.h...
Checking patch drivers/common/cnxk/roc_npc.c...
error: while searching for:
}
rq = inl_rq->qid;
pf_func = nix_inl_dev_pffunc_get();
}
sec_action = actions;
break;
error: patch failed: drivers/common/cnxk/roc_npc.c:531
Hunk #9 succeeded at 1273 (offset -35 lines).
Hunk #10 succeeded at 1368 (offset -35 lines).
Hunk #11 succeeded at 1379 (offset -35 lines).
error: while searching for:
if (rc)
return rc;
rc = npc_rss_group_free(npc, flow);
if (rc != 0) {
plt_err("Failed to free rss action rc = %d", rc);
error: patch failed: drivers/common/cnxk/roc_npc.c:1408
Hunk #13 succeeded at 1441 (offset -65 lines).
Checking patch drivers/common/cnxk/roc_npc.h...
error: while searching for:
struct roc_npc_msns_action_info msns_info;
bool is_validate;
uint16_t match_id;
TAILQ_ENTRY(roc_npc_flow) next;
};
error: patch failed: drivers/common/cnxk/roc_npc.h:280
Hunk #2 succeeded at 359 (offset -21 lines).
Checking patch drivers/common/cnxk/roc_npc_mcam.c...
Hunk #10 succeeded at 551 (offset -2 lines).
Hunk #11 succeeded at 617 (offset -2 lines).
Hunk #12 succeeded at 839 (offset -17 lines).
Hunk #13 succeeded at 850 (offset -17 lines).
Hunk #14 succeeded at 887 (offset -17 lines).
Checking patch drivers/common/cnxk/roc_npc_priv.h...
Hunk #1 succeeded at 395 (offset -1 lines).
Hunk #2 succeeded at 404 (offset -1 lines).
Checking patch drivers/common/cnxk/version.map...
Checking patch drivers/net/cnxk/cnxk_ethdev_sec.c...
Checking patch drivers/net/cnxk/cnxk_flow.c...
Hunk #1 succeeded at 408 (offset -1 lines).
Hunk #2 succeeded at 420 (offset -1 lines).
Applied patch doc/guides/nics/cnxk.rst cleanly.
Applied patch drivers/common/cnxk/roc_nix_inl.h cleanly.
Applied patch drivers/common/cnxk/roc_nix_inl_dev.c cleanly.
Applied patch drivers/common/cnxk/roc_nix_inl_priv.h cleanly.
Applying patch drivers/common/cnxk/roc_npc.c with 2 rejects...
Hunk #1 applied cleanly.
Hunk #2 applied cleanly.
Hunk #3 applied cleanly.
Hunk #4 applied cleanly.
Hunk #5 applied cleanly.
Hunk #6 applied cleanly.
Hunk #7 applied cleanly.
Rejected hunk #8.
Hunk #9 applied cleanly.
Hunk #10 applied cleanly.
Hunk #11 applied cleanly.
Rejected hunk #12.
Hunk #13 applied cleanly.
Applying patch drivers/common/cnxk/roc_npc.h with 1 reject...
Rejected hunk #1.
Hunk #2 applied cleanly.
Applied patch drivers/common/cnxk/roc_npc_mcam.c cleanly.
Applied patch drivers/common/cnxk/roc_npc_priv.h cleanly.
Applied patch drivers/common/cnxk/version.map cleanly.
Applied patch drivers/net/cnxk/cnxk_ethdev_sec.c cleanly.
Applied patch drivers/net/cnxk/cnxk_flow.c cleanly.
diff a/drivers/common/cnxk/roc_npc.c b/drivers/common/cnxk/roc_npc.c (rejected hunks)
@@ -531,6 +562,7 @@ npc_parse_actions(struct roc_npc *roc_npc, const struct roc_npc_attr *attr,
}
rq = inl_rq->qid;
pf_func = nix_inl_dev_pffunc_get();
+ flow->is_inline_dev = 1;
}
sec_action = actions;
break;
@@ -1408,6 +1481,11 @@ roc_npc_flow_destroy(struct roc_npc *roc_npc, struct roc_npc_flow *flow)
if (rc)
return rc;
+ if (npc_inline_dev_ipsec_action_free(npc, flow) == 0) {
+ TAILQ_REMOVE(&npc->ipsec_list, flow, next);
+ goto done;
+ }
+
rc = npc_rss_group_free(npc, flow);
if (rc != 0) {
plt_err("Failed to free rss action rc = %d", rc);
diff a/drivers/common/cnxk/roc_npc.h b/drivers/common/cnxk/roc_npc.h (rejected hunks)
@@ -280,6 +280,8 @@ struct roc_npc_flow {
struct roc_npc_msns_action_info msns_info;
bool is_validate;
uint16_t match_id;
+ uint8_t is_inline_dev;
+ bool use_pre_alloc;
TAILQ_ENTRY(roc_npc_flow) next;
};
https://lab.dpdk.org/results/dashboard/patchsets/24612/
UNH-IOL DPDK Community Lab
More information about the test-report
mailing list