[dpdk-dev] [PATCH v6 3/4] app/test: added tests for libcrypto PMD

Trahe, Fiona fiona.trahe at intel.com
Thu Oct 6 15:30:33 CEST 2016


Hi Slawomir,

> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Slawomir Mrozowicz
> Sent: Tuesday, October 4, 2016 4:11 PM
> To: dev at dpdk.org
> Cc: Mrozowicz, SlawomirX <slawomirx.mrozowicz at intel.com>; Azarewicz,
> PiotrX T <piotrx.t.azarewicz at intel.com>; Kerlin, MarcinX
> <marcinx.kerlin at intel.com>; Mrzyglod, DanielX T
> <danielx.t.mrzyglod at intel.com>
> Subject: [dpdk-dev] [PATCH v6 3/4] app/test: added tests for libcrypto PMD
> 
> This patch contains unit tests for libcrypto PMD. User can
> use app/test application to check how to use this pmd and to
> verify crypto processing.
> 
> Test name is cryptodev_libcrypto_autotest.
> For performance test cryptodev_libcrypto_perftest can be used.
> 
> Signed-off-by: Piotr Azarewicz <piotrx.t.azarewicz at intel.com>
> Signed-off-by: Marcin Kerlin <marcinx.kerlin at intel.com>
> Signed-off-by: Daniel Mrzyglod <danielx.t.mrzyglod at intel.com>
> ---
> v2:
> - rename AES-named functions to blockcipher
> - replace different test cases with blockcipher functions pattern
> - add 3DES tests into QuickAssist PMD testsuite
> 
> v3:
> - add nagative verification tests
> - add big data test
> 
> v4:
> - move aes test rework to another patch
> - move big data test to another patch
> - checking if libcrypto pmd is available
> 
> v5:
> - add reduced big data test
> 
> v6:
> - fix checkpatch warnings

This patch breaks autotests for all PMDs, due to increasing the MBUF size to UNIT16_MAX.
USER1: Can't create CRYPTO_MBUFPOOL

It needs more than 500MBs in the MBUFPOOL to run this test.
Setting this back to MBUF_SIZE fixes the issue, but breaks 2 tests in libcrypto_autotest

TestCase create_gmac_operation() line 5060 failed: no room to append aad                         
 + TestCase [27] : test_AES_GMAC_authentication_test_case_4 failed                               
TestCase create_gmac_operation() line 5060 failed: no room to append aad                         
 + TestCase [28] : test_AES_GMAC_authentication_verify_test_case_4 failed    

Can you investigate if it's possible to run these 2 tests using a different smaller MBUFPOOL -  maybe with only a few large mbufs?



More information about the dev mailing list