Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/96897/?format=api
http://patchwork.dpdk.org/api/patches/96897/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20210813093019.785286-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": "<20210813093019.785286-2-radu.nicolau@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20210813093019.785286-2-radu.nicolau@intel.com", "date": "2021-08-13T09:30:10", "name": "[v3,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/20210813093019.785286-2-radu.nicolau@intel.com/mbox/", "series": [ { "id": 18279, "url": "http://patchwork.dpdk.org/api/series/18279/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=18279", "date": "2021-08-13T09:30:09", "name": "new features for ipsec and security libraries", "version": 3, "mbox": "http://patchwork.dpdk.org/series/18279/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/96897/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/96897/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 77FD2A0C4D;\n\tFri, 13 Aug 2021 11:46:14 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 8EF3D41247;\n\tFri, 13 Aug 2021 11:46:09 +0200 (CEST)", "from mga07.intel.com (mga07.intel.com [134.134.136.100])\n by mails.dpdk.org (Postfix) with ESMTP id 14D9F40140\n for <dev@dpdk.org>; Fri, 13 Aug 2021 11:46:06 +0200 (CEST)", "from fmsmga004.fm.intel.com ([10.253.24.48])\n by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 13 Aug 2021 02:46:05 -0700", "from silpixa00400884.ir.intel.com ([10.243.22.82])\n by fmsmga004.fm.intel.com with ESMTP; 13 Aug 2021 02:46:02 -0700" ], "X-IronPort-AV": [ "E=McAfee;i=\"6200,9189,10074\"; a=\"279274328\"", "E=Sophos;i=\"5.84,318,1620716400\"; d=\"scan'208\";a=\"279274328\"", "E=Sophos;i=\"5.84,318,1620716400\"; d=\"scan'208\";a=\"508165871\"" ], "X-ExtLoop1": "1", "From": "Radu Nicolau <radu.nicolau@intel.com>", "To": "Akhil Goyal <gakhil@marvell.com>,\n Declan Doherty <declan.doherty@intel.com>", "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, 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": "Fri, 13 Aug 2021 10:30:10 +0100", "Message-Id": "<20210813093019.785286-2-radu.nicolau@intel.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20210813093019.785286-1-radu.nicolau@intel.com>", "References": "<20210713133542.3550525-1-radu.nicolau@intel.com>\n <20210813093019.785286-1-radu.nicolau@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH v3 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 <abhijit.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": [ "v3", "01/10" ] }{ "id": 96897, "url": "