Tested-by: Yao, BingX Y -----Original Message----- From: Yao, BingX Y Sent: Monday, October 21, 2019 2:10 PM To: dts@dpdk.org Cc: Yao, BingX Y Subject: [dts][PATCH V1 3/4] add config to crypto_perf add config to crypto_perf Signed-off-by: yaobing --- conf/crypto_perf_cryptodev_perf.cfg | 149 +++++++++++++++++++++++++--- 1 file changed, 133 insertions(+), 16 deletions(-) diff --git a/conf/crypto_perf_cryptodev_perf.cfg b/conf/crypto_perf_cryptodev_perf.cfg index 4e57aba..90c4e4e 100644 --- a/conf/crypto_perf_cryptodev_perf.cfg +++ b/conf/crypto_perf_cryptodev_perf.cfg @@ -13,11 +13,142 @@ vdev="crypto_aesni_mb_pmd_1" total-ops=30000000 buffer-sz="64,128,256,512,1024,2048" -optype="cipher-then-auth" +[test_verify_aesni_mb] +buffer-sz=32 +ptest="verify" +auth-key-sz=64 +cipher-key-sz=32 +devtype="crypto_aesni_mb" +cipher-iv-sz=16 +auth-op="generate" +digest-sz=12 +auth-algo="sha1-hmac" +cipher-algo="aes-cbc" +cipher-op="encrypt" +test-name="sha1_hmac_buff_32" +test-file="/tmp/test_aes_cbc.data" + +[test_verify_qat] +buffer-sz=32 +ptest="verify" +auth-key-sz=64 +cipher-key-sz=32 +devtype="crypto_qat" +cipher-iv-sz=16 +auth-op="generate" +digest-sz=20 +auth-algo="sha1-hmac" +cipher-algo="aes-cbc" +cipher-op="encrypt" +test-name="sha1_hmac_buff_32" +test-file="/tmp/test_aes_cbc.data" + +[test_verify_openssl_qat] +l="9,10,11,12" +vdev="crypto_openssl" +devtype="crypto_openssl" +aead-algo="aes-gcm" +aead-key-sz=16 +aead-iv-sz=12 +aead-op="encrypt" +aead-aad-sz=16 +digest-sz=16 +optype="aead" +ptest="verify" +buffer-sz=32 +test-name="aes_gcm_buff_32" +test-file="/tmp/test_aes_gcm.data" + +[test_verify_openssl] +l="9,10,11,12" +vdev="crypto_openssl" +devtype="crypto_openssl" +aead-algo="aes-gcm" +aead-key-sz=16 +aead-iv-sz=12 +aead-op="encrypt" +aead-aad-sz=16 +digest-sz=16 +optype="aead" +ptest="verify" +buffer-sz=32 +test-name="aes_gcm_buff_32" +test-file="/tmp/test_aes_gcm.data" + +[test_latency_qat] +l="9,10,11,12" +w="0000:1a:01.0 -w 0000:1a:01.1 -w 0000:1a:01.2" +devtype="crypto_qat" +cipher-algo="aes-cbc" +cipher-key-sz=16 +cipher-iv-sz=16 +cipher-op="encrypt" +optype="cipher-only" +ptest="latency" + +[test_latency_auth_qat] +l="9,10,11,12" +w="0000:1a:01.0 -w 0000:1a:01.1 -w 0000:1a:01.2" +ptest="latency" +devtype="crypto_qat" +cipher-algo="aes-cbc" +cipher-op="encrypt" +cipher-key-sz=16 +auth-algo="sha1-hmac" +auth-op="generate" +auth-key-sz=64 +digest-sz=12 +silent=None + +[test_latency_aead_qat] +aead-key-sz=16 +optype="aead" +ptest="latency" +aead-aad-sz=16 +devtype="crypto_qat" +aead-op="encrypt" +digest-sz=16 +aead-algo="aes-gcm" +aead-iv-sz=12 + +[test_latency_aesni_gcm] +vdev="crypto_aesni_gcm_pmd_1" +aead-key-sz=16 +optype="aead" +ptest="latency" +aead-aad-sz=16 +devtype="crypto_aesni_gcm" +aead-op="encrypt" +digest-sz=16 +aead-algo="aes-gcm" +aead-iv-sz=12 + +[test_latency_auth_aesni_mb] +l="9,10,11,12" +vdev="crypto_aesni_mb1 --vdev crypto_aesni_mb2" +ptest="latency" +devtype="crypto_aesni_mb" +cipher-algo="aes-cbc" +cipher-op="encrypt" +cipher-key-sz=16 +auth-algo="sha1-hmac" +auth-op="generate" +auth-key-sz=64 +silent=None +digest-sz=12 + +[test_latency_aesni_mb] +vdev="crypto_aesni_mb1 --vdev crypto_aesni_mb2" +devtype="crypto_aesni_mb" +cipher-algo="aes-cbc" +cipher-key-sz=16 +cipher-iv-sz=16 +cipher-op="encrypt" +optype="cipher-only" +ptest="latency" [test_qat_aes_cbc_sha1_hmac] -#test_skip="Y" devtype="crypto_qat" cipher-algo="aes-cbc" cipher-op="encrypt" @@ -29,8 +160,6 @@ auth-key-sz=64 digest-sz=20 [test_sw_aes_cbc_sha1_hmac] -#test_skip="Y" -total-ops=10000000 devtype="crypto_aesni_mb" cipher-algo="aes-cbc" cipher-op="encrypt" @@ -42,7 +171,6 @@ auth-key-sz=64 digest-sz=12 [test_qat_aes_cbc_sha2_hmac] -#test_skip="Y" devtype="crypto_qat" cipher-algo="aes-cbc" cipher-op="encrypt" @@ -54,8 +182,6 @@ auth-key-sz=64 digest-sz=32 [test_sw_aes_cbc_sha2_hmac] -#test_skip="Y" -total-ops=10000000 devtype="crypto_aesni_mb" cipher-algo="aes-cbc" cipher-op="encrypt" @@ -67,7 +193,6 @@ auth-key-sz=64 digest-sz=16 [test_qat_aes_gcm] -#test_skip="Y" devtype="crypto_qat" optype="aead" aead-algo="aes-gcm" @@ -78,9 +203,7 @@ aead-aad-sz=16 digest-sz=16 [test_sw_aes_gcm] -#test_skip="Y" vdev="crypto_aesni_gcm_pmd_1" -total-ops=10000000 optype="aead" devtype="crypto_aesni_gcm" aead-algo="aes-gcm" @@ -91,7 +214,6 @@ aead-aad-sz=16 digest-sz=16 [test_qat_kasumi] -#test_skip="Y" devtype="crypto_qat" cipher-algo="kasumi-f8" cipher-op="encrypt" @@ -103,7 +225,6 @@ auth-key-sz=16 digest-sz=4 [test_sw_kasumi] -#test_skip="Y" vdev="crypto_kasumi_1" total-ops=1000000 devtype="crypto_kasumi" @@ -117,7 +238,6 @@ auth-key-sz=16 digest-sz=4 [test_qat_snow3g] -#test_skip="Y" devtype="crypto_qat" cipher-algo="snow3g-uea2" cipher-op="encrypt" @@ -130,7 +250,6 @@ auth-iv-sz=16 digest-sz=4 [test_sw_snow3g] -#test_skip="Y" vdev="crypto_snow3g_1" total-ops=1000000 devtype="crypto_snow3g" @@ -145,7 +264,6 @@ auth-iv-sz=16 digest-sz=4 [test_qat_zuc] -#test_skip="Y" devtype="crypto_qat" cipher-algo="zuc-eea3" cipher-op="encrypt" @@ -158,7 +276,6 @@ auth-iv-sz=16 digest-sz=4 [test_sw_zuc] -#test_skip="Y" vdev="crypto_zuc_1" total-ops=1000000 devtype="crypto_zuc" -- 2.17.2