From patchwork Thu Jun 27 05:16:43 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anoob Joseph X-Patchwork-Id: 55437 X-Patchwork-Delegate: gakhil@marvell.com Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E9715325F; Thu, 27 Jun 2019 07:17:30 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 0FE59316B for ; Thu, 27 Jun 2019 07:17:29 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x5R5EkL5024646; Wed, 26 Jun 2019 22:17:29 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=pfpt0818; bh=qKlS/iHx6nwwEOssQJxiJHb9ebH9HN81HX80JdIpgG8=; b=mUtx76/nuU3Hl/CGBh+b5xtSVDfc9/st8JZo/W3WfHIV1RkDSsx8EfmqbB1vKa/XP4KM hKFxwVCmgtV7sUQysoGaLG0ZXM8pZ3VEdboxgEP16f1DPRHicfvaIzhnSWsNddBygjmi W1c+gVv9WtmPPAm9vu4qsZWHSjVicbBTOEQjHMAdpgOHDZsWd7WNNCEwk5UhrjeL0VMY m/A1MJaRXhf88BrYwhPvfKyCFM/fub7NlTzAioSbWONVGk6a9KDLmwKVE6VcSOh5pHT0 w9eb6ifNahmjI5luGITfiom2n+n0OvTyOaLj/6NU5JZ0l1wJ2l0DFA9JUsqx8p/2/ArI Tw== Received: from sc-exch04.marvell.com ([199.233.58.184]) by mx0a-0016f401.pphosted.com with ESMTP id 2tch699htt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 26 Jun 2019 22:17:29 -0700 Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Wed, 26 Jun 2019 22:17:28 -0700 Received: from maili.marvell.com (10.93.176.43) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server id 15.0.1367.3 via Frontend Transport; Wed, 26 Jun 2019 22:17:28 -0700 Received: from ajoseph83.caveonetworks.com.com (unknown [10.29.45.56]) by maili.marvell.com (Postfix) with ESMTP id A01B43F703F; Wed, 26 Jun 2019 22:17:25 -0700 (PDT) From: Anoob Joseph To: Akhil Goyal , Pablo de Lara CC: Anoob Joseph , Jerin Jacob , Narayana Prasad , Date: Thu, 27 Jun 2019 10:46:43 +0530 Message-ID: <1561612603-5932-1-git-send-email-anoobj@marvell.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-06-27_02:, , signatures=0 Subject: [dpdk-dev] [PATCH] crypto/octeontx: remove unsupported capabilities X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Removing capabilities not supported with latest firmware. Signed-off-by: Anoob Joseph Acked-by: Akhil Goyal --- .../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 }, }, } }, }