DPDK patches and discussions
 help / color / mirror / Atom feed
From: Anoob Joseph <anoobj@marvell.com>
To: Akhil Goyal <akhil.goyal@nxp.com>,
	Pablo de Lara <pablo.de.lara.guarch@intel.com>
Cc: Anoob Joseph <anoobj@marvell.com>,
	Jerin Jacob <jerinj@marvell.com>,
	Narayana Prasad <pathreya@marvell.com>, <dev@dpdk.org>
Subject: [dpdk-dev] [PATCH] crypto/octeontx: remove unsupported capabilities
Date: Thu, 27 Jun 2019 10:46:43 +0530	[thread overview]
Message-ID: <1561612603-5932-1-git-send-email-anoobj@marvell.com> (raw)

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


             reply	other threads:[~2019-06-27  5:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-27  5:16 Anoob Joseph [this message]
2019-07-01 11:34 ` Akhil Goyal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1561612603-5932-1-git-send-email-anoobj@marvell.com \
    --to=anoobj@marvell.com \
    --cc=akhil.goyal@nxp.com \
    --cc=dev@dpdk.org \
    --cc=jerinj@marvell.com \
    --cc=pablo.de.lara.guarch@intel.com \
    --cc=pathreya@marvell.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).