From patchwork Wed Sep 29 03:25:11 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tejasree Kondoj X-Patchwork-Id: 99952 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 5F819A0547; Wed, 29 Sep 2021 04:31:44 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DB9F2410D7; Wed, 29 Sep 2021 04:31:43 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id A69A74068F for ; Wed, 29 Sep 2021 04:31:42 +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 18T2Sc09017511; Tue, 28 Sep 2021 19:31:41 -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=c+l3mpBYxaphQhVkjb9TWrJjFVqy/7JHLO6zmJGxvEM=; b=fsmqm9ZBRFgzyn/fm0V+MbZvU6XKQ/ZRJ/uafgkVMIV6F+hN3lcXjr3wo3vvc5ZDuYqo edaca2FkawVN2ucUsQ2rjNF0N8+JgzgpoSHG4MEfRBMqxUTvOzzdd32yytLKKFUQ7g0x 32WkiVHHlvZd3S8iwDTrznjH0usIRtLQSmEY0+TpzINYgJr7Hdpx7GUnDqAJkPyAPJoV Wjw/cxOAm3yfGyoJyNuhliE1rGBbCCJdn+D+IFKCWeRFH0N17OGlbLb/5kwpXaJgfthp uhz29uqDioE3qUMW/n1HtOAa8MnQOglwKcY+yhTrfILFouy774zS7k/GaOY4v3ps+n9+ Bw== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0b-0016f401.pphosted.com with ESMTP id 3bcfd480a9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 28 Sep 2021 19:31:41 -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 19:31:39 -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 19:31:39 -0700 Received: from hyd1554T5810.caveonetworks.com.com (unknown [10.29.57.11]) by maili.marvell.com (Postfix) with ESMTP id EAF1F3F707E; Tue, 28 Sep 2021 19:31:35 -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, 29 Sep 2021 08:55:11 +0530 Message-ID: <20210929032514.9416-1-ktejasree@marvell.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 X-Proofpoint-GUID: ShBeZWTEAVlzhmcVPA2eGcMeyQKcoh5i X-Proofpoint-ORIG-GUID: ShBeZWTEAVlzhmcVPA2eGcMeyQKcoh5i 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_11,2021-09-28_01,2020-04-07_01 Subject: [dpdk-dev] [PATCH v2 0/3] add option to configure UDP ports 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 UDP encapsulation ports 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=18755 v2: * Fixed release notes * Moved newly added struct field to the end Tejasree Kondoj (3): security: add option to configure UDP ports verification common/cnxk: add support for UDP ports verification test/crypto: add UDP encapsulation ports verification tests app/test/test_cryptodev.c | 17 +++++++++++++++++ app/test/test_cryptodev_security_ipsec.c | 11 +++++++++++ app/test/test_cryptodev_security_ipsec.h | 1 + doc/guides/rel_notes/release_21_11.rst | 4 ++++ drivers/common/cnxk/cnxk_security.c | 3 +++ drivers/common/cnxk/roc_ie_ot.h | 4 ++-- .../crypto/cnxk/cnxk_cryptodev_capabilities.c | 1 + lib/security/rte_security.h | 7 +++++++ 8 files changed, 46 insertions(+), 2 deletions(-)