test/event: check unsupported crypto adapter mode
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 <ddcd6098b98d6077e8af1e63c839e98d07e002c4@marvell.com>
Acked-by: Abhinandan Gujjar <29ad062ba1cd829579f256025feb80cd7487d6f7@intel.com>

john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk