Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/95370/?format=api
https://patches.dpdk.org/api/patches/95370/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20210706112904.3094598-2-radu.nicolau@intel.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": "<20210706112904.3094598-2-radu.nicolau@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20210706112904.3094598-2-radu.nicolau@intel.com", "date": "2021-07-06T11:28:56", "name": "[RFC,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": "https://patches.dpdk.org/api/people/743/?format=api", "name": "Radu Nicolau", "email": "radu.nicolau@intel.com" }, "delegate": { "id": 6690, "url": "https://patches.dpdk.org/api/users/6690/?format=api", "username": "akhil", "first_name": "akhil", "last_name": "goyal", "email": "gakhil@marvell.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20210706112904.3094598-2-radu.nicolau@intel.com/mbox/", "series": [ { "id": 17663, "url": "https://patches.dpdk.org/api/series/17663/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=17663", "date": "2021-07-06T11:28:55", "name": "new features for ipsec and security libraries", "version": 1, "mbox": "https://patches.dpdk.org/series/17663/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/95370/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/95370/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 18652A0C47;\n\tTue, 6 Jul 2021 13:39:21 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id B591A412A5;\n\tTue, 6 Jul 2021 13:39:16 +0200 (CEST)", "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n by mails.dpdk.org (Postfix) with ESMTP id 72DD54120E\n for <dev@dpdk.org>; Tue, 6 Jul 2021 13:39:14 +0200 (CEST)", "from fmsmga002.fm.intel.com ([10.253.24.26])\n by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 06 Jul 2021 04:39:12 -0700", "from silpixa00400884.ir.intel.com ([10.243.22.82])\n by fmsmga002.fm.intel.com with ESMTP; 06 Jul 2021 04:39:11 -0700" ], "X-IronPort-AV": [ "E=McAfee;i=\"6200,9189,10036\"; a=\"208917676\"", "E=Sophos;i=\"5.83,328,1616482800\"; d=\"scan'208\";a=\"208917676\"", "E=Sophos;i=\"5.83,328,1616482800\"; d=\"scan'208\";a=\"496571938\"" ], "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 <abhijits.sinha@intel.com>,\n Daniel Martin Buckley <daniel.m.buckley@intel.com>", "Date": "Tue, 6 Jul 2021 12:28:56 +0100", "Message-Id": "<20210706112904.3094598-2-radu.nicolau@intel.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20210706112904.3094598-1-radu.nicolau@intel.com>", "References": "<20210706112904.3094598-1-radu.nicolau@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [RFC 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": [ "RFC", "01/10" ] }{ "id": 95370, "url": "