[dpdk-dev] [PATCH v4 0/2] Crypto test refactoring (first phase)

Pablo de Lara pablo.de.lara.guarch at intel.com
Thu Apr 16 11:08:17 CEST 2020


This patchset adds crypto capability checks
in the cryptodev test code, to be able to skip unsupported
test cases for each crypto device, according to their
capabilities.

Thanks to this patchset, there is no more need to check
for internal PMD information in the test code, making it
more "device-agnostic".

Changes in v4:
- Avoid checking algorithm parameters when CIPHER_NULL
  and/or AUTH_NULL are used (such as key size, IV size...),
  as these are not relevant
- Replaced "&&" with "&" in an if statament

Pablo de Lara (2):
  test/crypto: add capability check
  test/crypto: do not check for internal PMD information

 app/test/test_cryptodev_blockcipher.c       | 58 ++++++++++++++++++++++++++++-
 app/test/test_cryptodev_hash_test_vectors.h | 25 -------------
 2 files changed, 57 insertions(+), 26 deletions(-)

-- 
2.7.5



More information about the dev mailing list