test/crypto: run PDCP cases if supported
authorAkhil Goyal <akhil.goyal@nxp.com>
Sat, 9 May 2020 23:12:14 +0000 (04:42 +0530)
committerAkhil Goyal <akhil.goyal@nxp.com>
Mon, 11 May 2020 11:17:43 +0000 (13:17 +0200)
commite8c54147a77e832ec5b440bc109ccf2137312dab
treef28a5df9982bbf0942e9f5522d5cad4533af2b86
parente9703a54e41141ebcfd57db1d67d09ce61e58d29
test/crypto: run PDCP cases if supported

cryptodevs which support rte_security PDCP protocol,
can run all PDCP cases if it sets a feature flag
RTE_CRYPTODEV_FF_SECURITY. Previously, only dpaa2_sec
and dpaa_sec test suites were running these tests.
Now it is moved to generic test suite with a check
on the feature flag and the case will be skipped if it
is not supported by the PMD.

Signed-off-by: Akhil Goyal <akhil.goyal@nxp.com>
Acked-by: Adam Dybkowski <adamx.dybkowski@intel.com>
Acked-by: Anoob Joseph <anoobj@marvell.com>
app/test/test_cryptodev.c