test/event: fix function arguments for crypto adapter
authorAnkur Dwivedi <adwivedi@marvell.com>
Thu, 8 Oct 2020 12:52:33 +0000 (18:22 +0530)
committerJerin Jacob <jerinj@marvell.com>
Thu, 15 Oct 2020 20:01:47 +0000 (22:01 +0200)
commit45eb85e9bff1c03cf72fb2ff9722757b64d47735
treee3fd92f6afa477c69054c52dcd5014c92335c127
parent3c56316517e2d1a99e10f98ebddc0c39c6f6f86d
test/event: fix function arguments for crypto adapter

The arguments passed to rte_event_crypto_adapter_caps_get() and
rte_event_crypto_adapter_create() are incorrect.

In the rte_event_crypto_adapter_caps_get(), event device id should
be the first argument and cryptodev id should be the second argument.
In the rte_event_crypto_adapter_create(), the event device id should
be the second argument.

Fixes: 3c2c535ecfc0 ("test: add event crypto adapter auto-test")
Cc: stable@dpdk.org
Signed-off-by: Ankur Dwivedi <adwivedi@marvell.com>
Acked-by: Abhinandan Gujjar <abhinandan.gujjar@intel.com>
app/test/test_event_crypto_adapter.c