Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/107052/?format=api
https://patches.dpdk.org/api/patches/107052/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20220208222027.1364292-4-gakhil@marvell.com/", "project": { "id": 1, "url": "https://patches.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": "<20220208222027.1364292-4-gakhil@marvell.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20220208222027.1364292-4-gakhil@marvell.com", "date": "2022-02-08T22:20:27", "name": "[v6,3/3] security: add IPsec option for IP reassembly", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "e93a43ba83191f523ea5af2fc2bcede28a947021", "submitter": { "id": 2094, "url": "https://patches.dpdk.org/api/people/2094/?format=api", "name": "Akhil Goyal", "email": "gakhil@marvell.com" }, "delegate": { "id": 319, "url": "https://patches.dpdk.org/api/users/319/?format=api", "username": "fyigit", "first_name": "Ferruh", "last_name": "Yigit", "email": "ferruh.yigit@amd.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20220208222027.1364292-4-gakhil@marvell.com/mbox/", "series": [ { "id": 21535, "url": "https://patches.dpdk.org/api/series/21535/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=21535", "date": "2022-02-08T22:20:24", "name": "ethdev: introduce IP reassembly offload", "version": 6, "mbox": "https://patches.dpdk.org/series/21535/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/107052/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/107052/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 BCC11A034F;\n\tTue, 8 Feb 2022 23:23:42 +0100 (CET)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 529BB41165;\n\tTue, 8 Feb 2022 23:23:31 +0100 (CET)", "from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com\n [67.231.148.174])\n by mails.dpdk.org (Postfix) with ESMTP id EB7564114D\n for <dev@dpdk.org>; Tue, 8 Feb 2022 23:23:27 +0100 (CET)", "from pps.filterd (m0045849.ppops.net [127.0.0.1])\n by mx0a-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id\n 218GEVPe010584;\n Tue, 8 Feb 2022 14:23:23 -0800", "from dc5-exch01.marvell.com ([199.233.59.181])\n by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3e3mhskrd4-20\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Tue, 08 Feb 2022 14:23:23 -0800", "from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.2;\n Tue, 8 Feb 2022 14:20:46 -0800", "from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.18 via Frontend\n Transport; Tue, 8 Feb 2022 14:20:46 -0800", "from localhost.localdomain (unknown [10.28.48.55])\n by maili.marvell.com (Postfix) with ESMTP id 9D8C33F709B;\n Tue, 8 Feb 2022 14:20:42 -0800 (PST)" ], "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=Y91JbL2ycKkspb0Z6edtGZ/tPPUbo/lsQwgrEhVN9mE=;\n b=FcB++VKOgxwnf+SqqxPPNKubi8JtTm8EyUxDdj/YifsJ1zg4gn4u/fp2R01OXXMRCpDz\n GGchuIYWRpILt1jo8dgHC3G5LEXmgL9b1ika3pKi4ZrcKzNZ0SlhAKzxI+zAspvq7qTm\n pveulqpWK2t/WlSsBQnU+Mbse/hxjd4/6sQi0Vrgr6yNt7gyBI+/NPzEnZbD39J2kkZb\n 2+aKiJ2Zqe2j/+LCGtRgjDiCuA9p79KlKZtktiHZqEmm2TgbNjtFW3RbHqllu0cA8k1o\n zHSF4juY9bHGXlu1ghx4F5Cz9s7sXfOELGw90SD7qQ2yoURiAs2Y9BI5Rj+laoRfJsBO hg==", "From": "Akhil Goyal <gakhil@marvell.com>", "To": "<dev@dpdk.org>", "CC": "<anoobj@marvell.com>, <matan@nvidia.com>, <konstantin.ananyev@intel.com>,\n <thomas@monjalon.net>, <ferruh.yigit@intel.com>,\n <andrew.rybchenko@oktetlabs.ru>, <rosen.xu@intel.com>,\n <olivier.matz@6wind.com>, <david.marchand@redhat.com>,\n <radu.nicolau@intel.com>, <jerinj@marvell.com>,\n <stephen@networkplumber.org>, <mdr@ashroe.eu>,\n Akhil Goyal <gakhil@marvell.com>", "Subject": "[PATCH v6 3/3] security: add IPsec option for IP reassembly", "Date": "Wed, 9 Feb 2022 03:50:27 +0530", "Message-ID": "<20220208222027.1364292-4-gakhil@marvell.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20220208222027.1364292-1-gakhil@marvell.com>", "References": "<20220208201111.420971-1-gakhil@marvell.com>\n <20220208222027.1364292-1-gakhil@marvell.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain", "X-Proofpoint-ORIG-GUID": "StbGKcvHepZEJ4dC-qqtiqzVNWA4EdRm", "X-Proofpoint-GUID": "StbGKcvHepZEJ4dC-qqtiqzVNWA4EdRm", "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.205,Aquarius:18.0.816,Hydra:6.0.425,FMLib:17.11.62.513\n definitions=2022-02-08_07,2022-02-07_02,2021-12-02_01", "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" }, "content": "A new option is added in IPsec to enable and attempt reassembly\nof inbound IP packets.\n\nSigned-off-by: Akhil Goyal <gakhil@marvell.com>\n---\n devtools/libabigail.abignore | 5 +++++\n lib/security/rte_security.h | 15 ++++++++++++++-\n 2 files changed, 19 insertions(+), 1 deletion(-)", "diff": "diff --git a/devtools/libabigail.abignore b/devtools/libabigail.abignore\nindex 4b676f317d..5be41b8805 100644\n--- a/devtools/libabigail.abignore\n+++ b/devtools/libabigail.abignore\n@@ -11,3 +11,8 @@\n ; Ignore generated PMD information strings\n [suppress_variable]\n name_regexp = _pmd_info$\n+\n+; Ignore fields inserted in place of reserved_opts of rte_security_ipsec_sa_options\n+[suppress_type]\n+ name = rte_security_ipsec_sa_options\n+ has_data_member_inserted_between = {offset_of(reserved_opts), end}\ndiff --git a/lib/security/rte_security.h b/lib/security/rte_security.h\nindex 1228b6c8b1..b080d10c2c 100644\n--- a/lib/security/rte_security.h\n+++ b/lib/security/rte_security.h\n@@ -264,6 +264,19 @@ struct rte_security_ipsec_sa_options {\n \t */\n \tuint32_t l4_csum_enable : 1;\n \n+\t/** Enable IP reassembly on inline inbound packets.\n+\t *\n+\t * * 1: Enable driver to try reassembly of encrypted IP packets for\n+\t * this SA, if supported by the driver. This feature will work\n+\t * only if user has successfully set IP reassembly config params\n+\t * using rte_eth_ip_reassembly_conf_set() for the inline Ethernet\n+\t * device. PMD need to register mbuf dynamic fields using\n+\t * rte_eth_ip_reassembly_dynfield_register() and security session\n+\t * creation would fail if dynfield is not registered successfully.\n+\t * * 0: Disable IP reassembly of packets (default).\n+\t */\n+\tuint32_t ip_reassembly_en : 1;\n+\n \t/** Reserved bit fields for future extension\n \t *\n \t * User should ensure reserved_opts is cleared as it may change in\n@@ -271,7 +284,7 @@ struct rte_security_ipsec_sa_options {\n \t *\n \t * Note: Reduce number of bits in reserved_opts for every new option.\n \t */\n-\tuint32_t reserved_opts : 18;\n+\tuint32_t reserved_opts : 17;\n };\n \n /** IPSec security association direction */\n", "prefixes": [ "v6", "3/3" ] }{ "id": 107052, "url": "