[PATCH] examples/ipsec-secgw: fix cryptodev and eventdev ID

Tejasree Kondoj ktejasree at marvell.com
Mon Dec 2 07:49:06 CET 2024


Fixing cryptodev and eventdev ID numbers.

Fixes: 0dbe550a4af5 ("examples/ipsec-secgw: initialize event crypto adapter")
Cc: stable at dpdk.org

Signed-off-by: Tejasree Kondoj <ktejasree at marvell.com>
---
 examples/ipsec-secgw/event_helper.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/ipsec-secgw/event_helper.c b/examples/ipsec-secgw/event_helper.c
index 89fb7e62a5..5d8ce4df0b 100644
--- a/examples/ipsec-secgw/event_helper.c
+++ b/examples/ipsec-secgw/event_helper.c
@@ -881,7 +881,7 @@ eh_initialize_crypto_adapter(struct eventmode_conf *em_conf)
 		}
 
 		/* Add crypto queue pairs to event crypto adapter */
-		ret = rte_event_crypto_adapter_queue_pair_add(cdev_id, eventdev_id,
+		ret = rte_event_crypto_adapter_queue_pair_add(eventdev_id, cdev_id,
 				-1, /* adds all the pre configured queue pairs to the instance */
 				&queue_conf);
 		if (ret < 0) {
-- 
2.25.1



More information about the stable mailing list