[v3,01/13] crypto/dpaa_sec: fix to set PDCP capability flags

Message ID 20191106051731.3625-1-hemant.agrawal@nxp.com
State Accepted
Commit 91413a88e79de19fdd4ed992aacc7471fbb29df3
Headers show
Series
  • [v3,01/13] crypto/dpaa_sec: fix to set PDCP capability flags
Related show

Commit Message

Hemant Agrawal Nov. 6, 2019, 5:17 a.m.
set the pdcp capa_flags to 0 by default.

Fixes: a1173d55598c ("crypto/dpaa_sec: support PDCP offload")

Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>

---
 drivers/crypto/dpaa_sec/dpaa_sec.h | 2 ++
 1 file changed, 2 insertions(+)

-- 
2.17.1

Comments

Akhil Goyal Nov. 6, 2019, 1:09 p.m. | #1
> -----Original Message-----

> From: Hemant Agrawal <hemant.agrawal@nxp.com>

> Sent: Wednesday, November 6, 2019 10:47 AM

> To: dev@dpdk.org

> Cc: Akhil Goyal <akhil.goyal@nxp.com>

> Subject: [PATCH v3 01/13] crypto/dpaa_sec: fix to set PDCP capability flags

> 

> set the pdcp capa_flags to 0 by default.

> 

> Fixes: a1173d55598c ("crypto/dpaa_sec: support PDCP offload")

> 

> Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>

> ---

Series Acked-by: Akhil Goyal <akhil.goyal@nxp.com>

Series Applied to dpdk-next-crypto

Thanks.

Patch

diff --git a/drivers/crypto/dpaa_sec/dpaa_sec.h b/drivers/crypto/dpaa_sec/dpaa_sec.h
index c10ec1007..29ffe5631 100644
--- a/drivers/crypto/dpaa_sec/dpaa_sec.h
+++ b/drivers/crypto/dpaa_sec/dpaa_sec.h
@@ -712,6 +712,7 @@  static const struct rte_security_capability dpaa_sec_security_cap[] = {
 		.protocol = RTE_SECURITY_PROTOCOL_PDCP,
 		.pdcp = {
 			.domain = RTE_SECURITY_PDCP_MODE_DATA,
+			.capa_flags = 0
 		},
 		.crypto_capabilities = dpaa_pdcp_capabilities
 	},
@@ -720,6 +721,7 @@  static const struct rte_security_capability dpaa_sec_security_cap[] = {
 		.protocol = RTE_SECURITY_PROTOCOL_PDCP,
 		.pdcp = {
 			.domain = RTE_SECURITY_PDCP_MODE_CONTROL,
+			.capa_flags = 0
 		},
 		.crypto_capabilities = dpaa_pdcp_capabilities
 	},