test/crypto: fix duplicate device id uses by CCP device
PATCH 1/1 test/crypto: fix duplicate device id uses by CCP device
These duplicate device id is causing incorrect mapping for DPAA_SEC for test case execultion on the basis of capabilities.
Reported-by Anoob Joseph <[email protected]>
Signed-off-by Hemant Agrawal <[email protected]>
--- test/test/test_cryptodev_blockcipher.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
test/test/test_cryptodev_blockcipher.h +1 -1
@@ -27,10 +27,10 @@#define BLOCKCIPHER_TEST_TARGET_PMD_DPAA2_SEC 0x0020/* DPAA2_SEC flag */ #define BLOCKCIPHER_TEST_TARGET_PMD_DPAA_SEC 0x0040/* DPAA_SEC flag */ #define BLOCKCIPHER_TEST_TARGET_PMD_MVSAM 0x0080/* Marvell flag */ -#define BLOCKCIPHER_TEST_TARGET_PMD_CCP 0x0040/* CCP flag */ #define BLOCKCIPHER_TEST_TARGET_PMD_VIRTIO 0x0200/* VIRTIO flag */ #define BLOCKCIPHER_TEST_TARGET_PMD_OCTEONTX 0x0100/* OCTEON TX flag */ #define BLOCKCIPHER_TEST_TARGET_PMD_CAAM_JR 0x0400/* CAAM_JR flag */ +#define BLOCKCIPHER_TEST_TARGET_PMD_CCP 0x0800/* CCP flag */ #define BLOCKCIPHER_TEST_OP_CIPHER (BLOCKCIPHER_TEST_OP_ENCRYPT | \ BLOCKCIPHER_TEST_OP_DECRYPT)
Signature · 1 line
2.17.1
Quoted 20 lines · Hemant Agrawal
These duplicate device id is causing incorrect mapping for
DPAA_SECfor test case execultion on the basis of capabilities.Reported-by Anoob Joseph <[email protected]>Signed-off-by Hemant Agrawal <[email protected]>--- test/test/test_cryptodev_blockcipher.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)test/test/test_cryptodev_blockcipher.h +0
-0@@ -27,10 +27,10 @@#define BLOCKCIPHER_TEST_TARGET_PMD_DPAA2_SEC 0x0020/* DPAA2_SEC flag */
test/test/test_cryptodev_blockcipher.h line 36
Quoted 10 lines
test/test/test_cryptodev_blockcipher.h +1
-1#define BLOCKCIPHER_TEST_TARGET_PMD_DPAA_SEC 0x0040/* DPAA_SEC flag */ #define BLOCKCIPHER_TEST_TARGET_PMD_MVSAM 0x0080/* Marvell flag */ -#define BLOCKCIPHER_TEST_TARGET_PMD_CCP 0x0040/* CCP flag */ #define BLOCKCIPHER_TEST_TARGET_PMD_VIRTIO 0x0200/* VIRTIO flag */ #define BLOCKCIPHER_TEST_TARGET_PMD_OCTEONTX 0x0100/* OCTEON TX flag */ #define BLOCKCIPHER_TEST_TARGET_PMD_CAAM_JR 0x0400/* CAAM_JR flag */ +#define BLOCKCIPHER_TEST_TARGET_PMD_CCP 0x0800/* CCP flag */ #define BLOCKCIPHER_TEST_OP_CIPHER (BLOCKCIPHER_TEST_OP_ENCRYPT | \ BLOCKCIPHER_TEST_OP_DECRYPT)
Acked-by Akhil Goyal <[email protected]>
rebased and Applied to dpdk-next-crypto
Thanks