From patchwork Tue Sep 28 12:07:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tejasree Kondoj X-Patchwork-Id: 99900 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 5D88AA0032; Tue, 28 Sep 2021 13:14:05 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4294E410D7; Tue, 28 Sep 2021 13:14:05 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 4134440E3C for ; Tue, 28 Sep 2021 13:14:04 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 18SAHum1018449; Tue, 28 Sep 2021 04:14:03 -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=Vc1MzbSZoEBoCfPa1xCWYDUN6RZsfAACn6GcNASlGOA=; b=foLxlf1M5eNpHApfJRMPhqUgbjbSyKZ8CsUJQby73tyLFumojrA/N/SbP2IFgakE3O2x OFUd8ygodit4QBWTr69Aj+x+U4mUq/q8HwT5JMxEywQKbkGtXnyYAKSDB2yAwhyT4BJq HmzC0nrd4iXcYej0AaIQINoGWosUhWu5ezqhxCIf/BHaOQy5Bgt9Eek+kdqKpW6o11uh rqh+JNAxC9tcNByk9alqJEiAfJO4wNQmYJYL967TM2kv7IMJqYdz9V+PNJjGsmQCW5sk wiETTv5o/wcdp7BdEIR/P93/hZcjBq4G+JyQTy6VQrYjsk1C+YPyJk84w6enjQxp6eP7 xQ== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com with ESMTP id 3bc16205vj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 28 Sep 2021 04:14:03 -0700 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Tue, 28 Sep 2021 04:14:02 -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.18 via Frontend Transport; Tue, 28 Sep 2021 04:14:01 -0700 Received: from hyd1554T5810.caveonetworks.com.com (unknown [10.29.57.11]) by maili.marvell.com (Postfix) with ESMTP id EEE263F7098; Tue, 28 Sep 2021 04:13:57 -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: Tue, 28 Sep 2021 17:37:38 +0530 Message-ID: <20210928120741.16674-1-ktejasree@marvell.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: YyxhoQnMk-S0cwqinvCN2qz0z2wOnMQN X-Proofpoint-GUID: YyxhoQnMk-S0cwqinvCN2qz0z2wOnMQN 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-28_05,2021-09-28_01,2020-04-07_01 Subject: [dpdk-dev] [PATCH v2 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 v2: * Removed deprecation notice 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/deprecation.rst | 2 +- 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 ++++++ 10 files changed, 163 insertions(+), 5 deletions(-)