automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw120908 [PATCH] examples/ipsec-secgw: set AES-CTR IV length to 16
@ 2022-12-15  4:17 dpdklab
  0 siblings, 0 replies; 2+ messages in thread
From: dpdklab @ 2022-12-15  4:17 UTC (permalink / raw)
  To: test-report; +Cc: dpdk-test-reports

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

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

_apply patch failure_

Submitter: Tejasree Kondoj <ktejasree@marvell.com>
Date: Thursday, December 15 2022 03:58:05 
Applied on: CommitID:c581c49cd3fcaff596fbe566e270b442e6326c79
Apply patch set 120908 failed:

Checking patch examples/ipsec-secgw/sa.c...
error: while searching for:
			case RTE_CRYPTO_CIPHER_NULL:
			case RTE_CRYPTO_CIPHER_3DES_CBC:
			case RTE_CRYPTO_CIPHER_AES_CBC:
			case RTE_CRYPTO_CIPHER_AES_CTR:
				iv_length = sa->iv_len;
				break;
			default:
				RTE_LOG(ERR, IPSEC_ESP,
						"unsupported cipher algorithm %u\n",

error: patch failed: examples/ipsec-secgw/sa.c:1319
Applying patch examples/ipsec-secgw/sa.c with 1 reject...
Rejected hunk #1.
diff a/examples/ipsec-secgw/sa.c b/examples/ipsec-secgw/sa.c	(rejected hunks)
@@ -1319,9 +1319,14 @@ sa_add_rules(struct sa_ctx *sa_ctx, const struct ipsec_sa entries[],
 			case RTE_CRYPTO_CIPHER_NULL:
 			case RTE_CRYPTO_CIPHER_3DES_CBC:
 			case RTE_CRYPTO_CIPHER_AES_CBC:
-			case RTE_CRYPTO_CIPHER_AES_CTR:
 				iv_length = sa->iv_len;
 				break;
+			case RTE_CRYPTO_CIPHER_AES_CTR:
+				/* Length includes 8B per packet IV, 4B nonce and
+				 * 4B counter as populated in datapath.
+				 */
+				iv_length = 16;
+				break;
 			default:
 				RTE_LOG(ERR, IPSEC_ESP,
 						"unsupported cipher algorithm %u\n",

https://lab.dpdk.org/results/dashboard/patchsets/24740/

UNH-IOL DPDK Community Lab

^ permalink raw reply	[flat|nested] 2+ messages in thread

* |WARNING| pw120908 [PATCH] examples/ipsec-secgw: set AES-CTR IV length to 16
       [not found] <20221215035805.1777924-1-ktejasree@marvell.com>
@ 2022-12-15  3:50 ` qemudev
  0 siblings, 0 replies; 2+ messages in thread
From: qemudev @ 2022-12-15  3:50 UTC (permalink / raw)
  To: test-report; +Cc: Tejasree Kondoj

Test-Label: loongarch-compilation
Test-Status: WARNING
http://dpdk.org/patch/120908

_apply patch failure_

Submitter: Tejasree Kondoj <ktejasree@marvell.com>
Date: Thu, 15 Dec 2022 09:28:05 +0530
DPDK git baseline: Repo:dpdk
  Branch: main
  CommitID: c581c49cd3fcaff596fbe566e270b442e6326c79

Apply patch set 120908 failed:

Checking patch examples/ipsec-secgw/sa.c...
error: while searching for:
			case RTE_CRYPTO_CIPHER_NULL:
			case RTE_CRYPTO_CIPHER_3DES_CBC:
			case RTE_CRYPTO_CIPHER_AES_CBC:
			case RTE_CRYPTO_CIPHER_AES_CTR:
				iv_length = sa->iv_len;
				break;
			default:
				RTE_LOG(ERR, IPSEC_ESP,
						"unsupported cipher algorithm %u\n",

error: patch failed: examples/ipsec-secgw/sa.c:1319
error: examples/ipsec-secgw/sa.c: patch does not apply


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-12-15  4:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-15  4:17 |WARNING| pw120908 [PATCH] examples/ipsec-secgw: set AES-CTR IV length to 16 dpdklab
     [not found] <20221215035805.1777924-1-ktejasree@marvell.com>
2022-12-15  3:50 ` qemudev

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).