* [PATCH] examples/ipsec-secgw: fix cryptodev and eventdev ID
@ 2024-12-02 6:49 Tejasree Kondoj
0 siblings, 0 replies; only message in thread
From: Tejasree Kondoj @ 2024-12-02 6:49 UTC (permalink / raw)
To: Akhil Goyal, Radu Nicolau, Volodymyr Fialko
Cc: Anoob Joseph, Jerin Jacob, dev, stable
Fixing cryptodev and eventdev ID numbers.
Fixes: 0dbe550a4af5 ("examples/ipsec-secgw: initialize event crypto adapter")
Cc: stable@dpdk.org
Signed-off-by: Tejasree Kondoj <ktejasree@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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-12-02 6:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-02 6:49 [PATCH] examples/ipsec-secgw: fix cryptodev and eventdev ID Tejasree Kondoj
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).