test/event_crypto: set cipher operation in transform
authorAnkur Dwivedi <adwivedi@marvell.com>
Mon, 18 Jan 2021 16:19:40 +0000 (21:49 +0530)
committerJerin Jacob <jerinj@marvell.com>
Tue, 26 Jan 2021 19:30:41 +0000 (20:30 +0100)
commit61ecfb0240bcf7bd8e9a26c67a554e21cf3e0bc3
tree9f088a5b171c7837b08ceee4ecdc80f926f923d7
parent7fdc5ce88d33f1e767981c824532f13d86390639
test/event_crypto: set cipher operation in transform

The symmetric session configure callback function in OCTEON TX2 crypto
PMD returns error if the cipher operation is not set to either encrypt
or decrypt. This patch sets the cipher operation for the null cipher
to encrypt.

Fixes: 74449375237f ("test/event_crypto_adapter: fix configuration")
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