examples/fips_validation: remove illegal usage of API
authorAkhil Goyal <gakhil@marvell.com>
Tue, 10 Aug 2021 19:50:19 +0000 (01:20 +0530)
committerAkhil Goyal <gakhil@marvell.com>
Wed, 8 Sep 2021 07:34:25 +0000 (09:34 +0200)
commit74645f64ad6ff9142fa42a2fbf1f5f7a2cc1942d
treefb9ebddf24a942cea394a72acfb6c0983d5f2ac3
parente74abd48433dc05e3d40cc922577d6c55b5b844c
examples/fips_validation: remove illegal usage of API

Some of the cryptodev APIs are not allowed to be used
by application directly. Hence removing the usage of
1. queue_pair_release: it is not required, as configure
   of queue pair release the previous queue pairs and the
   dev is not directly exposed to application, hence cannot
   use its ops from app.
2. rte_cryptodev_stop: it can be used directly without
   checking if the device is started or not.
3. rte_cryptodev_pmd_destroy: application should use
   rte_cryptodev_close instead.

Signed-off-by: Akhil Goyal <gakhil@marvell.com>
Acked-by: Matan Azrad <matan@nvidia.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
examples/fips_validation/fips_dev_self_test.c
examples/fips_validation/main.c