Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/101319/?format=api
http://patches.dpdk.org/api/patches/101319/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20211013121331.300245-2-radu.nicolau@intel.com/", "project": { "id": 1, "url": "http://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": "<20211013121331.300245-2-radu.nicolau@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20211013121331.300245-2-radu.nicolau@intel.com", "date": "2021-10-13T12:13:22", "name": "[v9,01/10] security: add ESN field to ipsec_xform", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "54846dedda4236990dc7d35caa76ad7f7df54b91", "submitter": { "id": 743, "url": "http://patches.dpdk.org/api/people/743/?format=api", "name": "Radu Nicolau", "email": "radu.nicolau@intel.com" }, "delegate": { "id": 6690, "url": "http://patches.dpdk.org/api/users/6690/?format=api", "username": "akhil", "first_name": "akhil", "last_name": "goyal", "email": "gakhil@marvell.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20211013121331.300245-2-radu.nicolau@intel.com/mbox/", "series": [ { "id": 19593, "url": "http://patches.dpdk.org/api/series/19593/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=19593", "date": "2021-10-13T12:13:21", "name": "new features for ipsec and security libraries", "version": 9, "mbox": "http://patches.dpdk.org/series/19593/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/101319/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/101319/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 08EB3A0C55;\n\tWed, 13 Oct 2021 14:25:31 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 3EF1E411BD;\n\tWed, 13 Oct 2021 14:25:29 +0200 (CEST)", "from mga12.intel.com (mga12.intel.com [192.55.52.136])\n by mails.dpdk.org (Postfix) with ESMTP id 823BD411BD\n for <dev@dpdk.org>; Wed, 13 Oct 2021 14:25:27 +0200 (CEST)", "from orsmga001.jf.intel.com ([10.7.209.18])\n by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 13 Oct 2021 05:25:27 -0700", "from silpixa00400884.ir.intel.com ([10.243.22.82])\n by orsmga001.jf.intel.com with ESMTP; 13 Oct 2021 05:25:23 -0700" ], "X-IronPort-AV": [ "E=McAfee;i=\"6200,9189,10135\"; a=\"207528537\"", "E=Sophos;i=\"5.85,370,1624345200\"; d=\"scan'208\";a=\"207528537\"", "E=Sophos;i=\"5.85,370,1624345200\"; d=\"scan'208\";a=\"524607691\"" ], "X-ExtLoop1": "1", "From": "Radu Nicolau <radu.nicolau@intel.com>", "To": "Ray Kinsella <mdr@ashroe.eu>, Akhil Goyal <gakhil@marvell.com>,\n Declan Doherty <declan.doherty@intel.com>", "Cc": "dev@dpdk.org, konstantin.ananyev@intel.com, vladimir.medvedkin@intel.com,\n bruce.richardson@intel.com, roy.fan.zhang@intel.com,\n hemant.agrawal@nxp.com, anoobj@marvell.com, abhijit.sinha@intel.com,\n daniel.m.buckley@intel.com, marchana@marvell.com, ktejasree@marvell.com,\n matan@nvidia.com, Radu Nicolau <radu.nicolau@intel.com>", "Date": "Wed, 13 Oct 2021 13:13:22 +0100", "Message-Id": "<20211013121331.300245-2-radu.nicolau@intel.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20211013121331.300245-1-radu.nicolau@intel.com>", "References": "<20210713133542.3550525-1-radu.nicolau@intel.com>\n <20211013121331.300245-1-radu.nicolau@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH v9 01/10] security: add ESN field to ipsec_xform", "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": "Update ipsec_xform definition to include ESN field.\nThis allows the application to control the ESN starting value.\n\nSigned-off-by: Declan Doherty <declan.doherty@intel.com>\nSigned-off-by: Radu Nicolau <radu.nicolau@intel.com>\nSigned-off-by: Abhijit Sinha <abhijit.sinha@intel.com>\nSigned-off-by: Daniel Martin Buckley <daniel.m.buckley@intel.com>\nAcked-by: Fan Zhang <roy.fan.zhang@intel.com>\nAcked-by: Anoob Joseph <anoobj@marvell.com>\nAcked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>\n---\n doc/guides/rel_notes/deprecation.rst | 2 +-\n doc/guides/rel_notes/release_21_11.rst | 5 +++++\n lib/security/rte_security.h | 8 ++++++++\n 3 files changed, 14 insertions(+), 1 deletion(-)", "diff": "diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst\nindex a4e86b31f5..accb9c7d83 100644\n--- a/doc/guides/rel_notes/deprecation.rst\n+++ b/doc/guides/rel_notes/deprecation.rst\n@@ -206,7 +206,7 @@ Deprecation Notices\n \n * security: The structure ``rte_security_ipsec_xform`` will be extended with\n multiple fields: source and destination port of UDP encapsulation,\n- IPsec payload MSS (Maximum Segment Size), and ESN (Extended Sequence Number).\n+ IPsec payload MSS (Maximum Segment Size).\n \n * security: The IPsec SA config options ``struct rte_security_ipsec_sa_options``\n will be updated with new fields to support new features like TSO in case of\ndiff --git a/doc/guides/rel_notes/release_21_11.rst b/doc/guides/rel_notes/release_21_11.rst\nindex 54718ff367..f840586a20 100644\n--- a/doc/guides/rel_notes/release_21_11.rst\n+++ b/doc/guides/rel_notes/release_21_11.rst\n@@ -265,6 +265,11 @@ ABI Changes\n packet IPv4 header checksum and L4 checksum need to be offloaded to\n security device.\n \n+* security: A new structure ``esn`` was added in structure\n+ ``rte_security_ipsec_xform`` to set an initial ESN value. This permits\n+ application to start from an arbitrary ESN value for debug and SA lifetime\n+ enforcement purposes.\n+\n * bbdev: Added capability related to more comprehensive CRC options,\n shifting values of the ``enum rte_bbdev_op_ldpcdec_flag_bitmasks``.\n \ndiff --git a/lib/security/rte_security.h b/lib/security/rte_security.h\nindex 7eb9f109ae..764ce83bca 100644\n--- a/lib/security/rte_security.h\n+++ b/lib/security/rte_security.h\n@@ -318,6 +318,14 @@ struct rte_security_ipsec_xform {\n \t/**< Anti replay window size to enable sequence replay attack handling.\n \t * replay checking is disabled if the window size is 0.\n \t */\n+\tunion {\n+\t\tuint64_t value;\n+\t\tstruct {\n+\t\t\tuint32_t low;\n+\t\t\tuint32_t hi;\n+\t\t};\n+\t} esn;\n+\t/**< Extended Sequence Number */\n };\n \n /**\n", "prefixes": [ "v9", "01/10" ] }{ "id": 101319, "url": "