From patchwork Wed Feb 5 13:16:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anoob Joseph X-Patchwork-Id: 65583 X-Patchwork-Delegate: gakhil@marvell.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 31D32A04FA; Wed, 5 Feb 2020 14:16:59 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2AC641C1B7; Wed, 5 Feb 2020 14:16:47 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 338BE1C1B3 for ; Wed, 5 Feb 2020 14:16:46 +0100 (CET) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 015DDumR025996; Wed, 5 Feb 2020 05:16:45 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=pfpt0818; bh=ebk6QSqSIkWUMq4mVGI2UN2LWq9GlqG5+4UegjJnT+s=; b=iS65/tpK3lx63hFBzepSYuZbDkueCQZ5pba7Ozx99S3rUVcO1EZa0+VtZzDXeqfUZPPr zJrHtUM5grZQjjm/UAmx4oNi8jq8IcZIYGLlAS+DnFQXMA3nB6ekHJidUh7RIHq690ep CG3WcxY4D9UozEnM3scLUMUYxQ0PqCvcU51Y8pBm8ydHvqI0w5eE0KAVoQcwcz8UysvK Y9FWbEefuhfT5rNEinnm+vc8X1sp06U6VRjaYfccyGTFbnBVt7w2CKf6Xqg7XzPcc1Gl IY4W+A/VSVcDy2Bg7teYik1LzGYH0BaxI966ZemkwMwN5LYi2hTmERhapN94Ftl0zAh4 jg== Received: from sc-exch04.marvell.com ([199.233.58.184]) by mx0b-0016f401.pphosted.com with ESMTP id 2xyhn12ww2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 05 Feb 2020 05:16:45 -0800 Received: from SC-EXCH04.marvell.com (10.93.176.84) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 5 Feb 2020 05:16:43 -0800 Received: from maili.marvell.com (10.93.176.43) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 5 Feb 2020 05:16:43 -0800 Received: from ajoseph83.caveonetworks.com (unknown [10.29.45.60]) by maili.marvell.com (Postfix) with ESMTP id E7EAE3F72F1; Wed, 5 Feb 2020 05:16:41 -0800 (PST) From: Anoob Joseph To: Akhil Goyal CC: Archana Muniganti , , Anoob Joseph Date: Wed, 5 Feb 2020 18:46:14 +0530 Message-ID: <1580908578-3384-3-git-send-email-anoobj@marvell.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1580908578-3384-1-git-send-email-anoobj@marvell.com> References: <1580908578-3384-1-git-send-email-anoobj@marvell.com> MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138, 18.0.572 definitions=2020-02-05_03:2020-02-04, 2020-02-05 signatures=0 Subject: [dpdk-dev] [PATCH 2/6] crypto/octeontx2: add AES-GCM capabilities supported with new firmware 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" From: Archana Muniganti OCTEON TX2 crypto PMD supports digest lengths from 4 to 16 bytes with new firmware. Signed-off-by: Archana Muniganti Signed-off-by: Anoob Joseph --- drivers/crypto/octeontx2/otx2_cryptodev_capabilities.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/octeontx2/otx2_cryptodev_capabilities.c b/drivers/crypto/octeontx2/otx2_cryptodev_capabilities.c index 83f885c..2ddf628 100644 --- a/drivers/crypto/octeontx2/otx2_cryptodev_capabilities.c +++ b/drivers/crypto/octeontx2/otx2_cryptodev_capabilities.c @@ -577,9 +577,9 @@ rte_cryptodev_capabilities otx2_cpt_capabilities[] = { .increment = 8 }, .digest_size = { - .min = 8, + .min = 4, .max = 16, - .increment = 4 + .increment = 1 }, .aad_size = { .min = 0,