test/event: check unsupported crypto adapter mode
authorAnkur Dwivedi <adwivedi@marvell.com>
Thu, 8 Oct 2020 12:52:32 +0000 (18:22 +0530)
committerJerin Jacob <jerinj@marvell.com>
Thu, 15 Oct 2020 19:55:53 +0000 (21:55 +0200)
commit3c56316517e2d1a99e10f98ebddc0c39c6f6f86d
treeec6eb302caa99067df475d1c8128c2688b3617fc
parentdf19eda6b1090ed4e2dcf609338a337be3ef9681
test/event: check unsupported crypto adapter mode

The capability of a hardware event device should be checked before
creating a event crypto adapter in a particular mode. The test case
returns error if the mode is not supported.

Signed-off-by: Ankur Dwivedi <adwivedi@marvell.com>
Acked-by: Abhinandan Gujjar <abhinandan.gujjar@intel.com>
app/test/test_event_crypto_adapter.c