From patchwork Wed Sep 8 08:25:28 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tejasree Kondoj X-Patchwork-Id: 98274 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 A0E56A0C56; Wed, 8 Sep 2021 09:31:36 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 31B9C4003E; Wed, 8 Sep 2021 09:31:36 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 00A754003C for ; Wed, 8 Sep 2021 09:31:33 +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 1883l5ta016067; Wed, 8 Sep 2021 00:31:33 -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=GtNtAEK2FSv6PzMlw3QF3+Q0PR7EbSaMiGgvRzVONjY=; b=SGJ4dhwKObJSW1Vo9vrfDhwRuAa0BZp3f/Ll0Qyl1E7r5GfwHxD71fHS7o8I93o4R4xZ HTY7TYK85tbOqlueKFt7czssFvVaxeEFruggfPmyuixIBqT+SJWeofbkgpre2KQr5gf4 I6dyWj07WCz2Jcl7W3QzvQVOMujlBccuDSkFR29idEKfKC06/ZniO7LulzAX75HnJgPC IMrMRQcUy+jx2utMEaE96lSivDJTfkUKS1Mr6K18WRZLTKQCyo7SjIE9LEjmQOFl6RxP RdkFrmyIrTTAuYVA08l8fm8+Xrvl9jg79rhi5MxHNLmfpYAaxlQ1pPJOGYIJzoAEh81T UA== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com with ESMTP id 3axcm7tfv5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 08 Sep 2021 00:31:32 -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:31:31 -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:31:31 -0700 Received: from hyd1554T5810.caveonetworks.com.com (unknown [10.29.57.11]) by maili.marvell.com (Postfix) with ESMTP id 8396A3F705B; Wed, 8 Sep 2021 00:31:23 -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:55:28 +0530 Message-ID: <20210908082531.27477-1-ktejasree@marvell.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 X-Proofpoint-GUID: tSmFgHhxjA3fje-g0fJ33RrVme8rsJp2 X-Proofpoint-ORIG-GUID: tSmFgHhxjA3fje-g0fJ33RrVme8rsJp2 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 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 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 | 5 +++++ 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, 47 insertions(+), 2 deletions(-)