automatic DPDK test reports
 help / color / mirror / Atom feed
From: dpdklab@iol.unh.edu
To: test-report@dpdk.org
Cc: dpdk-test-reports@iol.unh.edu
Subject: [dpdk-test-report] |WARNING| pw98275-98277 [PATCH] [3/3] test/crypto: add UDP encapsulation ports verification tests
Date: Wed,  8 Sep 2021 10:29:06 -0400 (EDT)	[thread overview]
Message-ID: <20210908142906.7FA1889066@noxus.dpdklab.iol.unh.edu> (raw)

[-- Attachment #1: Type: text/plain, Size: 5078 bytes --]

Test-Label: iol-testing
Test-Status: WARNING
http://dpdk.org/patch/98275

_apply patch failure_

Submitter: Tejasree Kondoj <ktejasree@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

                 reply	other threads:[~2021-09-08 14:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210908142906.7FA1889066@noxus.dpdklab.iol.unh.edu \
    --to=dpdklab@iol.unh.edu \
    --cc=dpdk-test-reports@iol.unh.edu \
    --cc=test-report@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).