DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] crypto/octeontx: remove unsupported capabilities
@ 2019-06-27  5:16 Anoob Joseph
  2019-07-01 11:34 ` Akhil Goyal
  0 siblings, 1 reply; 2+ messages in thread
From: Anoob Joseph @ 2019-06-27  5:16 UTC (permalink / raw)
  To: Akhil Goyal, Pablo de Lara
  Cc: Anoob Joseph, Jerin Jacob, Narayana Prasad, dev

Removing capabilities not supported with latest firmware.

Signed-off-by: Anoob Joseph <anoobj@marvell.com>
---
 .../crypto/octeontx/otx_cryptodev_capabilities.c   | 48 +++++++++++-----------
 1 file changed, 24 insertions(+), 24 deletions(-)

diff --git a/drivers/crypto/octeontx/otx_cryptodev_capabilities.c b/drivers/crypto/octeontx/otx_cryptodev_capabilities.c
index 946571c..c6d94c9 100644
--- a/drivers/crypto/octeontx/otx_cryptodev_capabilities.c
+++ b/drivers/crypto/octeontx/otx_cryptodev_capabilities.c
@@ -86,9 +86,9 @@ static const struct rte_cryptodev_capabilities otx_capabilities[] = {
 					.increment = 0
 				},
 				.digest_size = {
-					.min = 1,
+					.min = 16,
 					.max = 16,
-					.increment = 1
+					.increment = 0
 				},
 			}, }
 		}, }
@@ -106,9 +106,9 @@ static const struct rte_cryptodev_capabilities otx_capabilities[] = {
 					.increment = 8
 				},
 				.digest_size = {
-					.min = 1,
+					.min = 16,
 					.max = 16,
-					.increment = 1
+					.increment = 0
 				},
 			}, }
 		}, }
@@ -126,9 +126,9 @@ static const struct rte_cryptodev_capabilities otx_capabilities[] = {
 					.increment = 0
 				},
 				.digest_size = {
-					.min = 1,
+					.min = 20,
 					.max = 20,
-					.increment = 1
+					.increment = 0
 				},
 			}, }
 		}, }
@@ -146,9 +146,9 @@ static const struct rte_cryptodev_capabilities otx_capabilities[] = {
 					.increment = 0
 				},
 				.digest_size = {
-					.min = 1,
+					.min = 20,
 					.max = 20,
-					.increment = 1
+					.increment = 0
 				},
 			}, }
 		}, }
@@ -166,9 +166,9 @@ static const struct rte_cryptodev_capabilities otx_capabilities[] = {
 					.increment = 0
 				},
 				.digest_size = {
-					.min = 1,
+					.min = 28,
 					.max = 28,
-					.increment = 1
+					.increment = 0
 				},
 			}, }
 		}, }
@@ -186,9 +186,9 @@ static const struct rte_cryptodev_capabilities otx_capabilities[] = {
 					.increment = 0
 				},
 				.digest_size = {
-					.min = 1,
+					.min = 28,
 					.max = 28,
-					.increment = 1
+					.increment = 0
 				},
 			}, }
 		}, }
@@ -206,9 +206,9 @@ static const struct rte_cryptodev_capabilities otx_capabilities[] = {
 					.increment = 0
 				},
 				.digest_size = {
-					.min = 1,
+					.min = 32,
 					.max = 32,
-					.increment = 1
+					.increment = 0
 				},
 			}, }
 		}, }
@@ -226,9 +226,9 @@ static const struct rte_cryptodev_capabilities otx_capabilities[] = {
 					.increment = 0
 				},
 				.digest_size = {
-					.min = 1,
+					.min = 32,
 					.max = 32,
-					.increment = 1
+					.increment = 0
 				},
 			}, }
 		}, }
@@ -246,9 +246,9 @@ static const struct rte_cryptodev_capabilities otx_capabilities[] = {
 					.increment = 0
 				},
 				.digest_size = {
-					.min = 1,
+					.min = 48,
 					.max = 48,
-					.increment = 1
+					.increment = 0
 					},
 			}, }
 		}, }
@@ -266,9 +266,9 @@ static const struct rte_cryptodev_capabilities otx_capabilities[] = {
 					.increment = 0
 				},
 				.digest_size = {
-					.min = 1,
+					.min = 48,
 					.max = 48,
-					.increment = 1
+					.increment = 0
 					},
 			}, }
 		}, }
@@ -286,9 +286,9 @@ static const struct rte_cryptodev_capabilities otx_capabilities[] = {
 					.increment = 0
 				},
 				.digest_size = {
-					.min = 1,
+					.min = 64,
 					.max = 64,
-					.increment = 1
+					.increment = 0
 				},
 			}, }
 		}, }
@@ -306,9 +306,9 @@ static const struct rte_cryptodev_capabilities otx_capabilities[] = {
 					.increment = 0
 				},
 				.digest_size = {
-					.min = 1,
+					.min = 64,
 					.max = 64,
-					.increment = 1
+					.increment = 0
 				},
 			}, }
 		}, }
-- 
2.7.4


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

* Re: [dpdk-dev] [PATCH] crypto/octeontx: remove unsupported capabilities
  2019-06-27  5:16 [dpdk-dev] [PATCH] crypto/octeontx: remove unsupported capabilities Anoob Joseph
@ 2019-07-01 11:34 ` Akhil Goyal
  0 siblings, 0 replies; 2+ messages in thread
From: Akhil Goyal @ 2019-07-01 11:34 UTC (permalink / raw)
  To: Anoob Joseph, Pablo de Lara; +Cc: Jerin Jacob, Narayana Prasad, dev



> 
> Removing capabilities not supported with latest firmware.
> 
> Signed-off-by: Anoob Joseph <anoobj@marvell.com>
> ---
>  .../crypto/octeontx/otx_cryptodev_capabilities.c   | 48 +++++++++++-----------
>  1 file changed, 24 insertions(+), 24 deletions(-)
> 
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>

Applied to dpdk-next-crypto

Thanks.


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

end of thread, other threads:[~2019-07-01 11:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-27  5:16 [dpdk-dev] [PATCH] crypto/octeontx: remove unsupported capabilities Anoob Joseph
2019-07-01 11:34 ` 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).