Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/95806/?format=api
http://patchwork.dpdk.org/api/patches/95806/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20210713133542.3550525-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": "<20210713133542.3550525-2-radu.nicolau@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20210713133542.3550525-2-radu.nicolau@intel.com", "date": "2021-07-13T13:35:33", "name": "[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/20210713133542.3550525-2-radu.nicolau@intel.com/mbox/", "series": [ { "id": 17806, "url": "http://patchwork.dpdk.org/api/series/17806/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=17806", "date": "2021-07-13T13:35:32", "name": "new features for ipsec and security libraries", "version": 1, "mbox": "http://patchwork.dpdk.org/series/17806/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/95806/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/95806/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 62679A0C4B;\n\tTue, 13 Jul 2021 15:47:00 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 47044412BE;\n\tTue, 13 Jul 2021 15:46:57 +0200 (CEST)", "from mga12.intel.com (mga12.intel.com [192.55.52.136])\n by mails.dpdk.org (Postfix) with ESMTP id 8470841263\n for <dev@dpdk.org>; Tue, 13 Jul 2021 15:46:54 +0200 (CEST)", "from orsmga007.jf.intel.com ([10.7.209.58])\n by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 13 Jul 2021 06:46:53 -0700", "from silpixa00400884.ir.intel.com ([10.243.22.82])\n by orsmga007.jf.intel.com with ESMTP; 13 Jul 2021 06:46:52 -0700" ], "X-IronPort-AV": [ "E=McAfee;i=\"6200,9189,10043\"; a=\"189847499\"", "E=Sophos;i=\"5.84,236,1620716400\"; d=\"scan'208\";a=\"189847499\"", "E=Sophos;i=\"5.84,236,1620716400\"; d=\"scan'208\";a=\"451761651\"" ], "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, Radu Nicolau <radu.nicolau@intel.com>,\n Abhijit Sinha <abhijit.sinha@intel.com>,\n Daniel Martin Buckley <daniel.m.buckley@intel.com>", "Date": "Tue, 13 Jul 2021 14:35:33 +0100", "Message-Id": "<20210713133542.3550525-2-radu.nicolau@intel.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20210713133542.3550525-1-radu.nicolau@intel.com>", "References": "<20210713133542.3550525-1-radu.nicolau@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH 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": [ "01/10" ] }{ "id": 95806, "url": "