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 C0A7BA0A0C; Fri, 9 Jul 2021 10:46:51 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8541D4014D; Fri, 9 Jul 2021 10:46:51 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 5D7A240143 for ; Fri, 9 Jul 2021 10:46:50 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 1698iwbx006527; Fri, 9 Jul 2021 01:46:49 -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=pfpt0220; bh=Db//NiyJTiKaDku9BlpTRnuRpHvTluPwQtLxK8vhepQ=; b=V3/jh0phf7514PFhNoGjPeBSiM25Fu++AeNoLz87D5Fj8CcBrhpbJktSShUvxQT9xD35 abVK6Ej+qwfQI1qyU0nvIsQ5Guer22X7z15Go56tjKuERgFtLCdYJyQXnh9AIjRzaPyr y3eIkVf8TsSR9SSC6Uu1laUxrux1xC4Azf2rS5tZbRL6VTbxLUy+ZmHeLlwxSSbVxaTm 1vCKPS03uLLQRlFHfOHpjZ+ZGJAhyCimEwSCBWy76j6sHi9KdU/kKenISvQc5J8PfVFU wxZFdnKxR3+I8hAhFYzVx9aVIUu2K4AhGi1uHK8hrTuaOTEOPtX+i7pPtpvj+8VlZYX4 fA== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com with ESMTP id 39pckd1dew-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Fri, 09 Jul 2021 01:46:49 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Fri, 9 Jul 2021 01:46:47 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.18 via Frontend Transport; Fri, 9 Jul 2021 01:46:47 -0700 Received: from hyd1554T5810.caveonetworks.com.com (unknown [10.29.57.11]) by maili.marvell.com (Postfix) with ESMTP id B07A03F705D; Fri, 9 Jul 2021 01:46:45 -0700 (PDT) From: Tejasree Kondoj To: Akhil Goyal , Thomas Monjalon , David Marchand , Ali Alnubani CC: Tejasree Kondoj , Anoob Joseph , Date: Fri, 9 Jul 2021 15:11:47 +0530 Message-ID: <20210709094147.12710-1-ktejasree@marvell.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: vIIeHxuVpH1MBxBSPSbAW8gukmtRPSD1 X-Proofpoint-GUID: vIIeHxuVpH1MBxBSPSbAW8gukmtRPSD1 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.790 definitions=2021-07-09_04:2021-07-09, 2021-07-09 signatures=0 Subject: [dpdk-dev] [PATCH] crypto/cnxk: fix debug build failure 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 Sender: "dev" Removing usage of unavailable macro. Reported-by: Ali Alnubani Suggested-by: David Marchand Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/cnxk/cn10k_cryptodev_ops.c b/drivers/crypto/cnxk/cn10k_cryptodev_ops.c index 6d322a9cb6..2e1a73939c 100644 --- a/drivers/crypto/cnxk/cn10k_cryptodev_ops.c +++ b/drivers/crypto/cnxk/cn10k_cryptodev_ops.c @@ -275,7 +275,7 @@ cn10k_cpt_sec_post_process(struct rte_crypto_op *cop, m_len = rte_be_to_cpu_16(ip->total_length); } else { PLT_ASSERT(((ip->version_ihl & 0xf0) >> - RTE_IPV4_IHL_MULTIPLIER) == IPV6_VERSION); + RTE_IPV4_IHL_MULTIPLIER) == 6); ip6 = (struct rte_ipv6_hdr *)ip; m_len = rte_be_to_cpu_16(ip6->payload_len) + sizeof(struct rte_ipv6_hdr); -- 2.27.0