[dpdk-stable] patch 'examples/ipsec-secgw: fix session creation' has been queued to stable release 17.08.1
Yuanhan Liu
yliu at fridaylinux.org
Tue Nov 21 14:17:57 CET 2017
Hi,
FYI, your patch has been queued to stable release 17.08.1
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 11/24/17. So please
shout if anyone has objections.
Thanks.
--yliu
---
>From 86117fed92c93cecdd4420165e8b448b0946054b Mon Sep 17 00:00:00 2001
From: Aviad Yehezkel <aviadye at mellanox.com>
Date: Tue, 24 Oct 2017 15:48:58 +0300
Subject: [PATCH] examples/ipsec-secgw: fix session creation
[ upstream commit d00f38905cb45ebb4fecf509079d7486c1a244ae ]
Search for session also with AEAD algorithms.
Fixes: 501e9c226adf ("examples/ipsec-secgw: add AEAD parameters")
Signed-off-by: Aviad Yehezkel <aviadye at mellanox.com>
Acked-by: Radu Nicolau <radu.nicolau at intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch at intel.com>
---
examples/ipsec-secgw/ipsec.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/examples/ipsec-secgw/ipsec.c b/examples/ipsec-secgw/ipsec.c
index 0afb9d6..36fb8c8 100644
--- a/examples/ipsec-secgw/ipsec.c
+++ b/examples/ipsec-secgw/ipsec.c
@@ -56,13 +56,17 @@ create_session(struct ipsec_ctx *ipsec_ctx, struct ipsec_sa *sa)
key.cipher_algo = (uint8_t)sa->cipher_algo;
key.auth_algo = (uint8_t)sa->auth_algo;
+ key.aead_algo = (uint8_t)sa->aead_algo;
ret = rte_hash_lookup_data(ipsec_ctx->cdev_map, &key,
(void **)&cdev_id_qp);
if (ret < 0) {
RTE_LOG(ERR, IPSEC, "No cryptodev: core %u, cipher_algo %u, "
- "auth_algo %u\n", key.lcore_id, key.cipher_algo,
- key.auth_algo);
+ "auth_algo %u, aead_algo %u\n",
+ key.lcore_id,
+ key.cipher_algo,
+ key.auth_algo,
+ key.aead_algo);
return -1;
}
--
2.7.4
More information about the stable
mailing list