Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/96859/?format=api
http://patchwork.dpdk.org/api/patches/96859/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20210812135425.698189-2-radu.nicolau@intel.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": "<20210812135425.698189-2-radu.nicolau@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20210812135425.698189-2-radu.nicolau@intel.com", "date": "2021-08-12T13:54:16", "name": "[v2,01/10] security: add support for TSO on IPsec session", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "31b4a6aeb4ca594c0813cfcfc65a56716896ce51", "submitter": { "id": 743, "url": "http://patchwork.dpdk.org/api/people/743/?format=api", "name": "Radu Nicolau", "email": "radu.nicolau@intel.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/20210812135425.698189-2-radu.nicolau@intel.com/mbox/", "series": [ { "id": 18265, "url": "http://patchwork.dpdk.org/api/series/18265/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=18265", "date": "2021-08-12T13:54:15", "name": "new features for ipsec and security libraries", "version": 2, "mbox": "http://patchwork.dpdk.org/series/18265/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/96859/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/96859/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 588EDA0C4E;\n\tThu, 12 Aug 2021 16:10:21 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id B259A410FC;\n\tThu, 12 Aug 2021 16:10:16 +0200 (CEST)", "from mga05.intel.com (mga05.intel.com [192.55.52.43])\n by mails.dpdk.org (Postfix) with ESMTP id 0B35340042\n for <dev@dpdk.org>; Thu, 12 Aug 2021 16:10:13 +0200 (CEST)", "from fmsmga007.fm.intel.com ([10.253.24.52])\n by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 12 Aug 2021 07:10:05 -0700", "from silpixa00400884.ir.intel.com ([10.243.22.82])\n by fmsmga007.fm.intel.com with ESMTP; 12 Aug 2021 07:10:02 -0700" ], "X-IronPort-AV": [ "E=McAfee;i=\"6200,9189,10074\"; a=\"300944303\"", "E=Sophos;i=\"5.84,316,1620716400\"; d=\"scan'208\";a=\"300944303\"", "E=Sophos;i=\"5.84,316,1620716400\"; d=\"scan'208\";a=\"446554311\"" ], "X-ExtLoop1": "1", "From": "Radu Nicolau <radu.nicolau@intel.com>", "To": "", "Cc": "dev@dpdk.org, mdr@ashroe.eu, konstantin.ananyev@intel.com,\n vladimir.medvedkin@intel.com, bruce.richardson@intel.com,\n hemant.agrawal@nxp.com, gakhil@marvell.com, anoobj@marvell.com,\n declan.doherty@intel.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>,\n Abhijit Sinha <abhijits.sinha@intel.com>", "Date": "Thu, 12 Aug 2021 14:54:16 +0100", "Message-Id": "<20210812135425.698189-2-radu.nicolau@intel.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20210812135425.698189-1-radu.nicolau@intel.com>", "References": "<20210713133542.3550525-1-radu.nicolau@intel.com>\n <20210812135425.698189-1-radu.nicolau@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH v2 01/10] security: add support for TSO on IPsec\n session", "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": "Allow user to provision a per security session maximum segment size\n(MSS) for use when Transmit Segmentation Offload (TSO) is supported.\nThe MSS value will be used when PKT_TX_TCP_SEG or PKT_TX_UDP_SEG\nol_flags are specified in mbuf.\n\nSigned-off-by: Declan Doherty <declan.doherty@intel.com>\nSigned-off-by: Radu Nicolau <radu.nicolau@intel.com>\nSigned-off-by: Abhijit Sinha <abhijits.sinha@intel.com>\nSigned-off-by: Daniel Martin Buckley <daniel.m.buckley@intel.com>\n---\n lib/security/rte_security.h | 15 +++++++++++++++\n 1 file changed, 15 insertions(+)", "diff": "diff --git a/lib/security/rte_security.h b/lib/security/rte_security.h\nindex 88d31de0a6..45896a77d0 100644\n--- a/lib/security/rte_security.h\n+++ b/lib/security/rte_security.h\n@@ -181,6 +181,19 @@ struct rte_security_ipsec_sa_options {\n \t * * 0: Disable per session security statistics collection for this SA.\n \t */\n \tuint32_t stats : 1;\n+\n+\t/** Transmit Segmentation Offload (TSO)\n+\t *\n+\t * * 1: Enable per session security TSO support, use MSS value provide\n+\t * in IPsec security session when PKT_TX_TCP_SEG or PKT_TX_UDP_SEG\n+\t * ol_flags are set in mbuf.\n+\t * this SA, if supported by the driver.\n+\t * * 0: No TSO support for offload IPsec packets. Hardware will not\n+\t * attempt to segment packet, and packet transmission will fail if\n+\t * larger than MTU of interface\n+\t */\n+\tuint32_t tso : 1;\n+\n };\n \n /** IPSec security association direction */\n@@ -217,6 +230,8 @@ 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+\tuint32_t mss;\n+\t/**< IPsec payload Maximum Segment Size */\n };\n \n /**\n", "prefixes": [ "v2", "01/10" ] }{ "id": 96859, "url": "