DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] test/crypto: fix duplicate device id uses by CCP device
@ 2019-02-22 10:06 Hemant Agrawal
  2019-03-06 16:52 ` Akhil Goyal
  0 siblings, 1 reply; 2+ messages in thread
From: Hemant Agrawal @ 2019-02-22 10:06 UTC (permalink / raw)
  To: dev; +Cc: Akhil Goyal, stable, ravi1.kumar

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 <anoobj@marvell.com>
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
---
 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_cryptodev_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 */
 
 #define BLOCKCIPHER_TEST_OP_CIPHER	(BLOCKCIPHER_TEST_OP_ENCRYPT | \
 					BLOCKCIPHER_TEST_OP_DECRYPT)
-- 
2.17.1

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-dev] [PATCH] test/crypto: fix duplicate device id uses by CCP device
  2019-02-22 10:06 [dpdk-dev] [PATCH] test/crypto: fix duplicate device id uses by CCP device Hemant Agrawal
@ 2019-03-06 16:52 ` Akhil Goyal
  0 siblings, 0 replies; 2+ messages in thread
From: Akhil Goyal @ 2019-03-06 16:52 UTC (permalink / raw)
  To: Hemant Agrawal, dev; +Cc: stable, ravi1.kumar



On 2/22/2019 3:36 PM, Hemant Agrawal wrote:
> 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 <anoobj@marvell.com>
> Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
> ---
>   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_cryptodev_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 */
>   
>   #define BLOCKCIPHER_TEST_OP_CIPHER	(BLOCKCIPHER_TEST_OP_ENCRYPT | \
>   					BLOCKCIPHER_TEST_OP_DECRYPT)
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>

rebased and Applied to dpdk-next-crypto

Thanks

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-03-06 16:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-22 10:06 [dpdk-dev] [PATCH] test/crypto: fix duplicate device id uses by CCP device Hemant Agrawal
2019-03-06 16:52 ` Akhil Goyal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).