get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/29542/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 29542,
    "url": "https://patches.dpdk.org/api/patches/29542/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20171003131413.23846-8-akhil.goyal@nxp.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": "<20171003131413.23846-8-akhil.goyal@nxp.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20171003131413.23846-8-akhil.goyal@nxp.com",
    "date": "2017-10-03T13:14:08",
    "name": "[dpdk-dev,v2,07/12] ethdev: add rte flow action for crypto",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "363987c6dd7f7d4c327db6e54f8a8ab718d0a00c",
    "submitter": {
        "id": 517,
        "url": "https://patches.dpdk.org/api/people/517/?format=api",
        "name": "Akhil Goyal",
        "email": "akhil.goyal@nxp.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20171003131413.23846-8-akhil.goyal@nxp.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/29542/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/29542/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 0CBF51B3B8;\n\tTue,  3 Oct 2017 15:17:26 +0200 (CEST)",
            "from NAM01-SN1-obe.outbound.protection.outlook.com\n\t(mail-sn1nam01on0058.outbound.protection.outlook.com [104.47.32.58])\n\tby dpdk.org (Postfix) with ESMTP id 10E531B3B8\n\tfor <dev@dpdk.org>; Tue,  3 Oct 2017 15:17:24 +0200 (CEST)",
            "from DM5PR03CA0026.namprd03.prod.outlook.com (10.174.189.143) by\n\tBN3PR03MB2355.namprd03.prod.outlook.com (10.166.74.150) with\n\tMicrosoft SMTP Server (version=TLS1_2,\n\tcipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id\n\t15.20.77.7; Tue, 3 Oct 2017 13:17:23 +0000",
            "from BN1AFFO11FD013.protection.gbl (2a01:111:f400:7c10::197) by\n\tDM5PR03CA0026.outlook.office365.com (2603:10b6:4:3b::15) with\n\tMicrosoft SMTP Server (version=TLS1_2,\n\tcipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id\n\t15.20.56.8 via Frontend Transport; Tue, 3 Oct 2017 13:17:23 +0000",
            "from az84smr01.freescale.net (192.88.158.2) by\n\tBN1AFFO11FD013.mail.protection.outlook.com (10.58.52.73) with\n\tMicrosoft SMTP Server (version=TLS1_0,\n\tcipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.77.10\n\tvia Frontend Transport; Tue, 3 Oct 2017 13:17:22 +0000",
            "from netperf2.ap.freescale.net ([10.232.133.164])\n\tby az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id\n\tv93DGfTI030592; Tue, 3 Oct 2017 06:17:17 -0700"
        ],
        "Authentication-Results": "spf=fail (sender IP is 192.88.158.2)\n\tsmtp.mailfrom=nxp.com; NXP1.onmicrosoft.com;\n\tdkim=none (message not signed)\n\theader.d=none;NXP1.onmicrosoft.com; dmarc=fail action=none\n\theader.from=nxp.com;",
        "Received-SPF": "Fail (protection.outlook.com: domain of nxp.com does not\n\tdesignate 192.88.158.2 as permitted sender)\n\treceiver=protection.outlook.com; \n\tclient-ip=192.88.158.2; helo=az84smr01.freescale.net;",
        "From": "Akhil Goyal <akhil.goyal@nxp.com>",
        "To": "<dev@dpdk.org>",
        "CC": "<declan.doherty@intel.com>, <pablo.de.lara.guarch@intel.com>,\n\t<hemant.agrawal@nxp.com>, <radu.nicolau@intel.com>,\n\t<borisp@mellanox.com>, \n\t<aviadye@mellanox.com>, <thomas@monjalon.net>, <sandeep.malik@nxp.com>,\n\t<jerin.jacob@caviumnetworks.com>, <john.mcnamara@intel.com>,\n\t<olivier.matz@6wind.com>",
        "Date": "Tue, 3 Oct 2017 18:44:08 +0530",
        "Message-ID": "<20171003131413.23846-8-akhil.goyal@nxp.com>",
        "X-Mailer": "git-send-email 2.9.3",
        "In-Reply-To": "<20171003131413.23846-1-akhil.goyal@nxp.com>",
        "References": "<20170914082651.26232-1-akhil.goyal@nxp.com>\n\t<20171003131413.23846-1-akhil.goyal@nxp.com>",
        "X-EOPAttributedMessage": "0",
        "X-Matching-Connectors": "131515102430295213;\n\t(91ab9b29-cfa4-454e-5278-08d120cd25b8); ()",
        "X-Forefront-Antispam-Report": "CIP:192.88.158.2; IPV:NLI; CTRY:US; EFV:NLI;\n\tSFV:NSPM;\n\tSFS:(10009020)(6009001)(336005)(39380400002)(346002)(39860400002)(376002)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(104016004)(47776003)(69596002)(97736004)(50986999)(8936002)(85426001)(8676002)(76176999)(6666003)(81166006)(81156014)(356003)(2950100002)(1076002)(305945005)(6916009)(77096006)(189998001)(105606002)(2351001)(498600001)(50226002)(54906003)(36756003)(8656003)(86362001)(33646002)(106466001)(2906002)(68736007)(7416002)(4326008)(5660300001)(48376002)(5003940100001)(50466002)(316002)(53936002)(16586007);\n\tDIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR03MB2355;\n\tH:az84smr01.freescale.net; FPR:; \n\tSPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; ",
        "X-Microsoft-Exchange-Diagnostics": [
            "1; BN1AFFO11FD013;\n\t1:83DY/6FrUIiNAWTe1YWXE6gCmSvIds0kA2aIgbr/6bMkL5I0cX4wVnqieQfjTBu4bbFPXK2iGtZTii4Y+fszZEmVcUGwZvwo4M0WvZLkz6JKqp4S3Qt5tfKQYR/+zqAc",
            "1; BN3PR03MB2355;\n\t3:D8TFRKd9NR7Pg3SEfw3OZBcPLSpH8Kao5oPaBO0Im9AxDBbSQKcohst3Jxij3OI8UtrsTp0idBacfkuaUBOP9rZbIVLYwYumu5ZEd5zVfdvUUbW+rHsQ2OLCMzwvo0GSzFILSuck12sQMWX1Lx3xxh+t7G1g/vUIavRa507aOgNoUxURsP6wxilohe4mlnAdSHEiHT54G5KqSKIyA5u3oSnuTz+d7nGu5hHnJVC+OKb5gKOytFsEahs9Lw/84t8znbO3QoWP+VHCzgxWAUl4ieB1EDkcNacPIp14ss0vnBnbAhwC9MVL868zfTNIXi1hYLek2kCeWKCboDyesRWgdA==;\n\t25:MIoZj/kNrVc2PtaHW4E2RMxAXiOesvnDKHqA/p84ARKVHGjhzC74BmzrdP0a3sNyVoOVagOffGV9r+mmkhxgGB7GwP4X5tFhL+AEwbWBspN4yEQmeRp5pTxWyyHxDjG3TqPfWsAoZHxieWf/5iZidfvWp4GkdwYJ8NMDNqig5BE72vVuKtoVwK27d5VtI+TkB25ZyZZAz1S9hkaknaFuiU/iNTUDu/jinD0xkg4xmhKkBc9HQKo63JwqjizFY4NchUIN78lkLspbGMrkW/TlHHfPsxWwDyxC2n/sgLEsx1manRV/WRwL01Ot2suKh8411xt4rndzxfczZvl+8ub9yQ==;\n\t31:zvlDBMFcy/EzJauMVGlQvVCvw5zr7TOKSd1t2wqCCK0QaRwF34uxautwOIT1bh2SOmyeBIzO4G+PpgxsKWOeByrX9acsxoUjbBh5ZGG8Ey6e1xmvg05OZxateNg5aLk0A3D06uTGrJBPfX9D+d0ekcbUmuFDL5iD5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JUubtOkWKuWcVOBPbj+Sq/QJjp2dhypKQMgXIZD9P50Vw1A==;\n\t24:ka4GEU9bpyLLlz2iiSXjdQca9jC9SydD39WscVL6LThZVyVd1UBGZfAMhQnPk+8WywV+dK6YHOzROJXSMNdCHBFIP6HXaV553oc764nG3G0=;\n\t7:52ym78bu+acRAfZHsmD5TfCBAmjQ74kDWvK26bu0gn+Ri2Qo9mbTQqVeI9NUurAHQLJZ0MYKZxRBBy1HpmxvGDOhdiASXft0iR3zXrKP+3054cxU1dBadfHdpo1ZOPAzm41rHECQa+3Xh83MQYwsKGvspP8Ba5PO5Fw9QxNAcYiIBFnla8n3acXhzStxQ4OPB5TeK14K1YUarLfb1VvrWVIlR1cz3Afr5H1dBhAbVjY="
        ],
        "MIME-Version": "1.0",
        "Content-Type": "text/plain",
        "X-MS-PublicTrafficType": "Email",
        "X-MS-Office365-Filtering-Correlation-Id": "8de0fecc-d3f7-4bd2-934f-08d50a611569",
        "X-Microsoft-Antispam": "UriScan:; BCL:0; PCL:0;\n\tRULEID:(22001)(2017052603199)(201703131430075)(201703131517081);\n\tSRVR:BN3PR03MB2355; ",
        "X-MS-TrafficTypeDiagnostic": "BN3PR03MB2355:",
        "X-Exchange-Antispam-Report-Test": "UriScan:(192374486261705);",
        "X-Microsoft-Antispam-PRVS": "<BN3PR03MB2355B6FC00A6BD67F03BD2FDE6720@BN3PR03MB2355.namprd03.prod.outlook.com>",
        "X-Exchange-Antispam-Report-CFA-Test": "BCL:0; PCL:0;\n\tRULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(2401047)(5005006)(8121501046)(3002001)(100000703101)(100105400095)(10201501046)(93006095)(93001095)(6055026)(6096035)(20161123565025)(201703131430075)(201703131433075)(201703131448075)(201703161259150)(201703151042153)(20161123561025)(20161123559100)(20161123563025)(20161123556025)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);\n\tSRVR:BN3PR03MB2355; BCL:0; PCL:0;\n\tRULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095);\n\tSRVR:BN3PR03MB2355; ",
        "X-Forefront-PRVS": "044968D9E1",
        "SpamDiagnosticOutput": "1:99",
        "SpamDiagnosticMetadata": "NSPM",
        "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "03 Oct 2017 13:17:22.7799\n\t(UTC)",
        "X-MS-Exchange-CrossTenant-Id": "5afe0b00-7697-4969-b663-5eab37d5f47e",
        "X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp": "TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e;\n\tIp=[192.88.158.2]; \n\tHelo=[az84smr01.freescale.net]",
        "X-MS-Exchange-CrossTenant-FromEntityHeader": "HybridOnPrem",
        "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "BN3PR03MB2355",
        "Subject": "[dpdk-dev] [PATCH v2 07/12] ethdev: add rte flow action for crypto",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "From: Boris Pismenny <borisp@mellanox.com>\n\nThe crypto action is specified by an application to request\ncrypto offload for a flow.\n\nSigned-off-by: Boris Pismenny <borisp@mellanox.com>\nSigned-off-by: Aviad Yehezkel <aviadye@mellanox.com>\n---\n lib/librte_ether/rte_flow.h | 38 ++++++++++++++++++++++++++++++++++++++\n 1 file changed, 38 insertions(+)",
    "diff": "diff --git a/lib/librte_ether/rte_flow.h b/lib/librte_ether/rte_flow.h\nindex ea08af6..48d4fca 100644\n--- a/lib/librte_ether/rte_flow.h\n+++ b/lib/librte_ether/rte_flow.h\n@@ -941,6 +941,13 @@ enum rte_flow_action_type {\n \t * See struct rte_flow_action_vf.\n \t */\n \tRTE_FLOW_ACTION_TYPE_VF,\n+\t/**\n+\t * Redirects packets to security engine of current device for security\n+\t * processing as specified by security session.\n+\t *\n+\t * See struct rte_flow_action_security.\n+\t */\n+\tRTE_FLOW_ACTION_TYPE_SECURITY\n };\n \n /**\n@@ -1034,6 +1041,37 @@ struct rte_flow_action_vf {\n };\n \n /**\n+ * RTE_FLOW_ACTION_TYPE_SECURITY\n+ *\n+ * Perform the security action on flows matched by the pattern items\n+ * according to the configuration of the security session.\n+ *\n+ * This action modifies the payload of matched flows. For INLINE_CRYPTO, the\n+ * security protocol headers and IV are fully provided by the application as\n+ * specified in the flow pattern. The payload of matching packets is\n+ * encrypted on egress, and decrypted and authenticated on ingress.\n+ * For INLINE_PROTOCOL, the security protocol is fully offloaded to HW,\n+ * providing full encapsulation and decapsulation of packets in security\n+ * protocols. The flow pattern specifies both the outer security header fields\n+ * and the inner packet fields. The security session specified in the action\n+ * must match the pattern parameters.\n+ *\n+ * The security session specified in the action must be created on the same\n+ * port as the flow action that is being specified.\n+ *\n+ * The ingress/egress flow attribute should match that specified in the\n+ * security session if the security session supports the definition of the\n+ * direction.\n+ *\n+ * Multiple flows can be configured to use the same security session.\n+ *\n+ * Non-terminating by default.\n+ */\n+struct rte_flow_action_security {\n+\tvoid *security_session; /**< Pointer to security session structure. */\n+};\n+\n+/**\n  * Definition of a single action.\n  *\n  * A list of actions is terminated by a END action.\n",
    "prefixes": [
        "dpdk-dev",
        "v2",
        "07/12"
    ]
}