Skip to contentSkip to conversation

test/crypto: fix duplicate device id uses by CCP device

PATCH In review Hemant Agrawal 2 participants 2 messages Feb 22, 2019 – Mar 6, 2019

lore
Share & tools
lore
#0 lore raw

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.

Fixes e155ca055e84 ("test/crypto: add tests for AMD CCP")
---
 test/test/test_cryptodev_blockcipher.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
test/test/test_cryptodev_blockcipher.h +1 -1
index 5c22d5da6..d3a7edd99 100644
@@ -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
Acked-by on v1 1/1
#1 lore raw
Quoted 20 lines · Hemant Agrawal

These duplicate device id is causing incorrect mapping for DPAA_SEC for test case execultion on the basis of capabilities.

Fixes e155ca055e84 ("test/crypto: add tests for AMD CCP")
---
  test/test/test_cryptodev_blockcipher.h | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
test/test/test_cryptodev_blockcipher.h +0 -0
index 5c22d5da6..d3a7edd99 100644
@@ -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)

rebased and Applied to dpdk-next-crypto

Thanks