Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/98275/?format=api
http://patchwork.dpdk.org/api/patches/98275/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20210908082531.27477-2-ktejasree@marvell.com/", "project": { "id": 1, "url": "http://patchwork.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20210908082531.27477-2-ktejasree@marvell.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20210908082531.27477-2-ktejasree@marvell.com", "date": "2021-09-08T08:25:29", "name": "[1/3] security: add option to configure UDP ports verification", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": true, "hash": "b9c7ffd028ea0e1b6ffdc132bec65bedb62120ab", "submitter": { "id": 1789, "url": "http://patchwork.dpdk.org/api/people/1789/?format=api", "name": "Tejasree Kondoj", "email": "ktejasree@marvell.com" }, "delegate": { "id": 6690, "url": "http://patchwork.dpdk.org/api/users/6690/?format=api", "username": "akhil", "first_name": "akhil", "last_name": "goyal", "email": "gakhil@marvell.com" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20210908082531.27477-2-ktejasree@marvell.com/mbox/", "series": [ { "id": 18756, "url": "http://patchwork.dpdk.org/api/series/18756/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=18756", "date": "2021-09-08T08:25:28", "name": "add option to configure UDP ports verification", "version": 1, "mbox": "http://patchwork.dpdk.org/series/18756/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/98275/comments/", "check": "warning", "checks": "http://patchwork.dpdk.org/api/patches/98275/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "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])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 5FD3FA0C56;\n\tWed, 8 Sep 2021 09:31:44 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 4C75E41139;\n\tWed, 8 Sep 2021 09:31:44 +0200 (CEST)", "from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com\n [67.231.156.173])\n by mails.dpdk.org (Postfix) with ESMTP id 31E8A41130\n for <dev@dpdk.org>; Wed, 8 Sep 2021 09:31:43 +0200 (CEST)", "from pps.filterd (m0045851.ppops.net [127.0.0.1])\n by mx0b-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id\n 1882piif018485;\n Wed, 8 Sep 2021 00:31:42 -0700", "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0b-0016f401.pphosted.com with ESMTP id 3axcmjaegu-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Wed, 08 Sep 2021 00:31:42 -0700", "from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.18;\n Wed, 8 Sep 2021 00:31:40 -0700", "from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.18 via Frontend\n Transport; Wed, 8 Sep 2021 00:31:40 -0700", "from hyd1554T5810.caveonetworks.com.com (unknown [10.29.57.11])\n by maili.marvell.com (Postfix) with ESMTP id 5D9B63F705B;\n Wed, 8 Sep 2021 00:31:31 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;\n h=from : to : cc :\n subject : date : message-id : in-reply-to : references : mime-version :\n content-transfer-encoding : content-type; s=pfpt0220;\n bh=1oHI3j8dlpZXP2wcxEDRgmV6EGHJEEZYWRf1ETSAZ1Q=;\n b=DtHkiZpwWXhpe9Vxf4GUx3BgXnFBr8jhID6wckYaw6zzhhuVXQ7ueC9yoGL1fNYspSb1\n y+DMVLtdCb77yYAaxKWTcMsRcA6xa1OyuWdWC5ZE4Rtau72ctcAI1twxNkHzmO6tLokN\n Llk8O2bFu8Jzox8VSU714SKaC+k99Gj890NTgSjipM/cQNnJdUArZAKSyBCgKSfvV3NO\n GsTNPFswiK0PATMBQ1sIdLRp+I1Q1Q7uAMD31EbhrdDmxh3SZhpvqkD943SpnUZ4KVqt\n 1htsrgLeNQgbz6KxZaVAjdSN3ojl3A8RnmMq0tL1p2pUyNUiloBQCaxgEeAoKUDSXpMi og==", "From": "Tejasree Kondoj <ktejasree@marvell.com>", "To": "Akhil Goyal <gakhil@marvell.com>, Radu Nicolau <radu.nicolau@intel.com>,\n Declan Doherty <declan.doherty@intel.com>", "CC": "Tejasree Kondoj <ktejasree@marvell.com>,\n Anoob Joseph <anoobj@marvell.com>,\n Ankur Dwivedi <adwivedi@marvell.com>, Jerin Jacob <jerinj@marvell.com>,\n Konstantin Ananyev <konstantin.ananyev@intel.com>,\n Ciara Power <ciara.power@intel.com>,\n Hemant Agrawal <hemant.agrawal@nxp.com>,\n Gagandeep Singh <g.singh@nxp.com>, Fan Zhang <roy.fan.zhang@intel.com>,\n Archana Muniganti <marchana@marvell.com>, <dev@dpdk.org>", "Date": "Wed, 8 Sep 2021 13:55:29 +0530", "Message-ID": "<20210908082531.27477-2-ktejasree@marvell.com>", "X-Mailer": "git-send-email 2.27.0", "In-Reply-To": "<20210908082531.27477-1-ktejasree@marvell.com>", "References": "<20210908082531.27477-1-ktejasree@marvell.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain", "X-Proofpoint-GUID": "-1Mn5oCN4lhaDoXs4Qi14OsaCt5-yo3M", "X-Proofpoint-ORIG-GUID": "-1Mn5oCN4lhaDoXs4Qi14OsaCt5-yo3M", "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.391,FMLib:17.0.607.475\n definitions=2021-09-08_02,2021-09-07_02,2020-04-07_01", "Subject": "[dpdk-dev] [PATCH 1/3] security: add option to configure UDP ports\n verification", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Add option to indicate whether UDP encapsulation ports\nverification need to be done as part of inbound\nIPsec processing.\n\nSigned-off-by: Tejasree Kondoj <ktejasree@marvell.com>\n---\n doc/guides/rel_notes/release_21_11.rst | 5 +++++\n lib/security/rte_security.h | 7 +++++++\n 2 files changed, 12 insertions(+)", "diff": "diff --git a/doc/guides/rel_notes/release_21_11.rst b/doc/guides/rel_notes/release_21_11.rst\nindex b0606cb542..afeba0105b 100644\n--- a/doc/guides/rel_notes/release_21_11.rst\n+++ b/doc/guides/rel_notes/release_21_11.rst\n@@ -141,6 +141,11 @@ ABI Changes\n * Added SA option to indicate whether outer header verification need to be\n done as part of inbound IPsec processing.\n \n+* security: add IPsec SA option to configure UDP ports verification\n+\n+ * Added SA option to indicate whether UDP ports verification need to be\n+ done as part of inbound IPsec processing.\n+\n \n Known Issues\n ------------\ndiff --git a/lib/security/rte_security.h b/lib/security/rte_security.h\nindex 2a61cad885..18b0f02c44 100644\n--- a/lib/security/rte_security.h\n+++ b/lib/security/rte_security.h\n@@ -139,6 +139,13 @@ struct rte_security_ipsec_sa_options {\n \t */\n \tuint32_t udp_encap : 1;\n \n+\t/** Verify UDP encapsulation ports in inbound\n+\t *\n+\t * * 1: Match UDP source and destination ports\n+\t * * 0: Do not match UDP ports\n+\t */\n+\tuint32_t udp_ports_verify : 1;\n+\n \t/** Copy DSCP bits\n \t *\n \t * * 1: Copy IPv4 or IPv6 DSCP bits from inner IP header to\n", "prefixes": [ "1/3" ] }{ "id": 98275, "url": "