From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id DE05F4263D; Tue, 26 Sep 2023 07:59:31 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 286B040A79; Tue, 26 Sep 2023 07:59:07 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id E397140A72 for ; Tue, 26 Sep 2023 07:59:05 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 38Q1fpPj017411 for ; Mon, 25 Sep 2023 22:59:05 -0700 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=pfpt0220; bh=UDiaOoeZlnxzoaKgTj/99mX3gaLiE8+JKTbO3e8A2dA=; b=ENrYmOeQpQSLjvCp6sqB+V/03kn/WM7R3xhGav6YDaQVo/cCaFNVGL2YtpnJr5V3mkoR ZRh5kbe1vzk2nz2hZ9ZPpL0Xf45g168p8cZ+oElQPKBSmABH6myMv/xR1707uFr5q9Xb Nt5oNBay230FnukoG2rHSpoAJLkWILSEthK8yo/Ipj5HqHnf6GSEEmESrfLkG7U6yu9E E3BV/3A3MkCbNoCzMqtSo66huVjEBFfKpUc8yO7pjF8U5uNXuifNKeCKNwd5kOwM90Ve sVRkvY384LSRp/q66104nLusAV+ar2K8rqbDX9cc1nUmTU9/pS81mNwLWpEWs6//kgT6 0g== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3t9wcqr1ue-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Mon, 25 Sep 2023 22:59:04 -0700 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Mon, 25 Sep 2023 22:59:03 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.48 via Frontend Transport; Mon, 25 Sep 2023 22:59:03 -0700 Received: from hyd1554.marvell.com (unknown [10.29.57.11]) by maili.marvell.com (Postfix) with ESMTP id 662B23F7090; Mon, 25 Sep 2023 22:59:01 -0700 (PDT) From: Tejasree Kondoj To: Akhil Goyal CC: Anoob Joseph , Aakash Sasidharan , Gowrishankar Muthukrishnan , Vidya Sagar Velumuri , Subject: [PATCH v2 05/15] crypto/cnxk: fix IPsec CCM and GCM capabilities Date: Tue, 26 Sep 2023 11:28:37 +0530 Message-ID: <20230926055847.2707473-6-ktejasree@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230926055847.2707473-1-ktejasree@marvell.com> References: <20230926055847.2707473-1-ktejasree@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: xK1BfJdYkwiev9MmOUQK2deMr68WmPnF X-Proofpoint-GUID: xK1BfJdYkwiev9MmOUQK2deMr68WmPnF X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-09-26_04,2023-09-25_01,2023-05-22_02 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Fix lookaside IPsec AES-CCM and AES-GCM capabilities. The patch to fix AES-CCM capabilities was applied incorrectly which resulted in wrong AES-GCM capabilities. Fix the same and update AES-CCM to correct values. Fixes: eb581897e580 ("crypto/cnxk: fix IPsec CCM capabilities") Signed-off-by: Anoob Joseph Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c b/drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c index 4c6357353e..ac4a8c1572 100644 --- a/drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c +++ b/drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c @@ -1180,8 +1180,8 @@ static const struct rte_cryptodev_capabilities sec_caps_aes[] = { .increment = 4 }, .iv_size = { - .min = 11, - .max = 11, + .min = 12, + .max = 12, .increment = 0 } }, } @@ -1210,8 +1210,8 @@ static const struct rte_cryptodev_capabilities sec_caps_aes[] = { .increment = 4 }, .iv_size = { - .min = 12, - .max = 12, + .min = 11, + .max = 11, .increment = 0 } }, } -- 2.25.1