From patchwork Wed Sep 8 08:21:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tejasree Kondoj X-Patchwork-Id: 98270 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3E61BA0C56; Wed, 8 Sep 2021 09:27:56 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B81AE4003E; Wed, 8 Sep 2021 09:27:55 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id AF00F4003C for ; Wed, 8 Sep 2021 09:27:53 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 1882piiD018485; Wed, 8 Sep 2021 00:27:52 -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=5W0S2Qj8SFYyzQ/MmGCOcqbWj5CgyEaGAn+Af3VazEI=; b=DBOkuUAaVfdnxbr/b62VWJJc9pa6K01xJ7yK8AfS1d+ccCOt6GcjuvyLZGEEfQjLpedC qTcye/lDxCxS9LqFDBRuZyzemTAlKIGXnAigsvRennl9jv3PffptvSAmVSWEBX70P2Lw 5dsh9xBQ38n80wcOF3n9sAleOTEzkH6hgB6Perrq4ydfPket71GtEUbfiUbINsSwdY/b yhah08MIvK1XRtm7PoJHrgQL6lwfE2NUouX3X9DAEaQYUKbt41yst7kDnX56GrlqkyWZ BS6HOVLILj9WSGMuhfu0Izol4/fe5STeWy++kliKrCAV247ZhzX/dn9GSl79M9iA647A 1Q== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0b-0016f401.pphosted.com with ESMTP id 3axcmjae2v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 08 Sep 2021 00:27:52 -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; Wed, 8 Sep 2021 00:27:50 -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; Wed, 8 Sep 2021 00:27:50 -0700 Received: from hyd1554T5810.caveonetworks.com.com (unknown [10.29.57.11]) by maili.marvell.com (Postfix) with ESMTP id AF67B3F705B; Wed, 8 Sep 2021 00:27:45 -0700 (PDT) From: Tejasree Kondoj To: Akhil Goyal , Radu Nicolau , Declan Doherty CC: Tejasree Kondoj , Anoob Joseph , Ankur Dwivedi , Jerin Jacob , Konstantin Ananyev , Ciara Power , Hemant Agrawal , Gagandeep Singh , Fan Zhang , Archana Muniganti , Date: Wed, 8 Sep 2021 13:51:08 +0530 Message-ID: <20210908082111.27396-1-ktejasree@marvell.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 X-Proofpoint-GUID: YJxXgteGo4jifrQ5UvB39C5LT-5GcwnX X-Proofpoint-ORIG-GUID: YJxXgteGo4jifrQ5UvB39C5LT-5GcwnX X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.391,FMLib:17.0.607.475 definitions=2021-09-08_02,2021-09-07_02,2020-04-07_01 Subject: [dpdk-dev] [PATCH 0/3] add option to configure tunnel header verification 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" Add option to indicate whether outer header verification need to be done as part of inbound IPsec processing. CNXK PMD support and unit tests are also added for the same. Depends on https://patches.dpdk.org/project/dpdk/list/?series=18743 Tejasree Kondoj (3): security: add option to configure tunnel header verification common/cnxk: add support for tunnel header verification test/crypto: add tunnel header verification tests app/test/test_cryptodev.c | 45 +++++++++++++- app/test/test_cryptodev_security_ipsec.c | 25 +++++++- app/test/test_cryptodev_security_ipsec.h | 1 + ...st_cryptodev_security_ipsec_test_vectors.h | 3 + doc/guides/rel_notes/release_21_11.rst | 5 ++ drivers/common/cnxk/cnxk_security.c | 60 +++++++++++++++++++ drivers/common/cnxk/roc_ie_ot.h | 6 +- .../crypto/cnxk/cnxk_cryptodev_capabilities.c | 4 ++ lib/security/rte_security.h | 17 ++++++ 9 files changed, 162 insertions(+), 4 deletions(-)