From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hemant Agrawal Subject: [PATCH] test/crypto: fix duplicate device id uses by CCP device Date: Fri, 22 Feb 2019 10:06:37 +0000 Message-ID: <20190222100518.7125-1-hemant.agrawal@nxp.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Cc: Akhil Goyal , "stable@dpdk.org" , "ravi1.kumar@amd.com" To: "dev@dpdk.org" Return-path: Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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") Cc: stable@dpdk.org Cc: ravi1.kumar@amd.com Reported-by: Anoob Joseph Signed-off-by: Hemant Agrawal --- test/test/test_cryptodev_blockcipher.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test/test_cryptodev_blockcipher.h b/test/test/test_crypto= dev_blockcipher.h index 5c22d5da6..d3a7edd99 100644 --- a/test/test/test_cryptodev_blockcipher.h +++ b/test/test/test_cryptodev_blockcipher.h @@ -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 */ =20 #define BLOCKCIPHER_TEST_OP_CIPHER (BLOCKCIPHER_TEST_OP_ENCRYPT | \ BLOCKCIPHER_TEST_OP_DECRYPT) --=20 2.17.1