[dpdk-test-report] |WARNING| pw98275-98277 [PATCH] [3/3] test/crypto: add UDP encapsulation ports verification tests
dpdklab at iol.unh.edu
dpdklab at iol.unh.edu
Wed Sep 8 16:29:06 CEST 2021
Test-Label: iol-testing
Test-Status: WARNING
http://dpdk.org/patch/98275
_apply patch failure_
Submitter: Tejasree Kondoj <ktejasree at marvell.com>
Date: Wednesday, September 08 2021 08:25:31
Applied on: CommitID:b344eb5d941a7522ff27b6b7b5419f68c3fea9a0
Apply patch set 98275-98277 failed:
Checking patch doc/guides/rel_notes/release_21_11.rst...
error: while searching for:
* Added SA option to indicate whether outer header verification need to be
done as part of inbound IPsec processing.
Known Issues
------------
error: patch failed: doc/guides/rel_notes/release_21_11.rst:141
Checking patch lib/security/rte_security.h...
Hunk #1 succeeded at 131 (offset -8 lines).
Applying patch doc/guides/rel_notes/release_21_11.rst with 1 reject...
Rejected hunk #1.
Applied patch lib/security/rte_security.h cleanly.
diff a/doc/guides/rel_notes/release_21_11.rst b/doc/guides/rel_notes/release_21_11.rst (rejected hunks)
@@ -141,6 +141,11 @@ ABI Changes
* Added SA option to indicate whether outer header verification need to be
done as part of inbound IPsec processing.
+* security: add IPsec SA option to configure UDP ports verification
+
+ * Added SA option to indicate whether UDP ports verification need to be
+ done as part of inbound IPsec processing.
+
Known Issues
------------
Checking patch drivers/common/cnxk/cnxk_security.c...
Hunk #1 succeeded at 160 (offset -143 lines).
Checking patch drivers/common/cnxk/roc_ie_ot.h...
error: while searching for:
uint64_t esn_en : 1;
uint64_t tport_l4_incr_csum : 1;
uint64_t ip_hdr_verify : 2;
uint64_t rsvd5 : 1;
uint64_t rsvd2 : 7;
uint64_t async_mode : 1;
error: patch failed: drivers/common/cnxk/roc_ie_ot.h:184
Hunk #2 succeeded at 348 (offset 19 lines).
Checking patch drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c...
error: while searching for:
sec_cap->ipsec.options.iv_gen_disable = 1;
#endif
} else {
if (sec_cap->ipsec.mode == RTE_SECURITY_IPSEC_SA_MODE_TUNNEL)
sec_cap->ipsec.options.tunnel_hdr_verify =
RTE_SECURITY_IPSEC_TUNNEL_VERIFY_SRC_DST_ADDR;
error: patch failed: drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c:921
Applied patch drivers/common/cnxk/cnxk_security.c cleanly.
Applying patch drivers/common/cnxk/roc_ie_ot.h with 1 reject...
Rejected hunk #1.
Hunk #2 applied cleanly.
Applying patch drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c with 1 reject...
Rejected hunk #1.
diff a/drivers/common/cnxk/roc_ie_ot.h b/drivers/common/cnxk/roc_ie_ot.h (rejected hunks)
@@ -184,7 +184,7 @@ union roc_ot_ipsec_sa_word2 {
uint64_t esn_en : 1;
uint64_t tport_l4_incr_csum : 1;
uint64_t ip_hdr_verify : 2;
- uint64_t rsvd5 : 1;
+ uint64_t udp_ports_verify : 1;
uint64_t rsvd2 : 7;
uint64_t async_mode : 1;
diff a/drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c b/drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c (rejected hunks)
@@ -921,6 +921,7 @@ cn10k_sec_caps_update(struct rte_security_capability *sec_cap)
sec_cap->ipsec.options.iv_gen_disable = 1;
#endif
} else {
+ sec_cap->ipsec.options.udp_ports_verify = 1;
if (sec_cap->ipsec.mode == RTE_SECURITY_IPSEC_SA_MODE_TUNNEL)
sec_cap->ipsec.options.tunnel_hdr_verify =
RTE_SECURITY_IPSEC_TUNNEL_VERIFY_SRC_DST_ADDR;
Checking patch app/test/test_cryptodev.c...
error: while searching for:
return test_ipsec_proto_all(&flags);
}
static int
test_PDCP_PROTO_all(void)
{
error: patch failed: app/test/test_cryptodev.c:9214
error: while searching for:
"UDP encapsulation",
ut_setup_security, ut_teardown,
test_ipsec_proto_udp_encap),
TEST_CASE_NAMED_ST(
"SA expiry packets soft",
ut_setup_security, ut_teardown,
error: patch failed: app/test/test_cryptodev.c:14145
Checking patch app/test/test_cryptodev_security_ipsec.c...
error: app/test/test_cryptodev_security_ipsec.c: does not exist in index
Checking patch app/test/test_cryptodev_security_ipsec.h...
error: app/test/test_cryptodev_security_ipsec.h: does not exist in index
Applying patch app/test/test_cryptodev.c with 2 rejects...
Rejected hunk #1.
Rejected hunk #2.
diff a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c (rejected hunks)
@@ -9214,6 +9214,19 @@ test_ipsec_proto_tunnel_dst_addr_verify(const void *data __rte_unused)
return test_ipsec_proto_all(&flags);
}
+static int
+test_ipsec_proto_udp_ports_verify(const void *data __rte_unused)
+{
+ struct ipsec_test_flags flags;
+
+ memset(&flags, 0, sizeof(flags));
+
+ flags.udp_encap = true;
+ flags.udp_ports_verify = true;
+
+ return test_ipsec_proto_all(&flags);
+}
+
static int
test_PDCP_PROTO_all(void)
{
@@ -14145,6 +14158,10 @@ static struct unit_test_suite ipsec_proto_testsuite = {
"UDP encapsulation",
ut_setup_security, ut_teardown,
test_ipsec_proto_udp_encap),
+ TEST_CASE_NAMED_ST(
+ "UDP encapsulation ports verification test",
+ ut_setup_security, ut_teardown,
+ test_ipsec_proto_udp_ports_verify),
TEST_CASE_NAMED_ST(
"SA expiry packets soft",
ut_setup_security, ut_teardown,
https://lab.dpdk.org/results/dashboard/patchsets/18617/
UNH-IOL DPDK Community Lab
More information about the test-report
mailing list