get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 28717,
    "url": "https://patches.dpdk.org/api/patches/28717/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20170914082651.26232-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": "<20170914082651.26232-8-akhil.goyal@nxp.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20170914082651.26232-8-akhil.goyal@nxp.com",
    "date": "2017-09-14T08:26:47",
    "name": "[dpdk-dev,07/11] ethdev: add rte flow action for crypto",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "d722cc6a53836ceea86cee76b69ec0741adbc5a4",
    "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/20170914082651.26232-8-akhil.goyal@nxp.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/28717/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/28717/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 EC9781041;\n\tThu, 14 Sep 2017 10:29:40 +0200 (CEST)",
            "from NAM03-BY2-obe.outbound.protection.outlook.com\n\t(mail-by2nam03on0043.outbound.protection.outlook.com [104.47.42.43])\n\tby dpdk.org (Postfix) with ESMTP id BC5DE1B1BF\n\tfor <dev@dpdk.org>; Thu, 14 Sep 2017 10:29:38 +0200 (CEST)",
            "from DM5PR03CA0045.namprd03.prod.outlook.com (2603:10b6:4:3b::34)\n\tby\n\tSN2PR03MB2365.namprd03.prod.outlook.com (2603:10b6:804:e::16) with\n\tMicrosoft SMTP Server (version=TLS1_2,\n\tcipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.56.11;\n\tThu, 14 Sep 2017 08:29:37 +0000",
            "from BN1AFFO11FD023.protection.gbl (2a01:111:f400:7c10::187) by\n\tDM5PR03CA0045.outlook.office365.com (2603:10b6:4:3b::34) 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; Thu, 14 Sep 2017 08:29:37 +0000",
            "from tx30smr01.am.freescale.net (192.88.168.50) by\n\tBN1AFFO11FD023.mail.protection.outlook.com (10.58.52.83) with\n\tMicrosoft SMTP Server (version=TLS1_0,\n\tcipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.13.11\n\tvia Frontend Transport; Thu, 14 Sep 2017 08:29:36 +0000",
            "from netperf2.ap.freescale.net ([10.232.133.164])\n\tby tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id\n\tv8E8T36L025953; Thu, 14 Sep 2017 01:29:32 -0700"
        ],
        "Authentication-Results": "spf=fail (sender IP is 192.88.168.50)\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.168.50 as permitted sender)\n\treceiver=protection.outlook.com; \n\tclient-ip=192.88.168.50; helo=tx30smr01.am.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>",
        "Date": "Thu, 14 Sep 2017 13:56:47 +0530",
        "Message-ID": "<20170914082651.26232-8-akhil.goyal@nxp.com>",
        "X-Mailer": "git-send-email 2.9.3",
        "In-Reply-To": "<20170914082651.26232-1-akhil.goyal@nxp.com>",
        "References": "<20170914082651.26232-1-akhil.goyal@nxp.com>",
        "X-EOPAttributedMessage": "0",
        "X-Matching-Connectors": "131498513768253183;\n\t(91ab9b29-cfa4-454e-5278-08d120cd25b8); ()",
        "X-Forefront-Antispam-Report": "CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI;\n\tSFV:NSPM;\n\tSFS:(10009020)(6009001)(336005)(39860400002)(39380400002)(376002)(346002)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(47776003)(189998001)(48376002)(36756003)(86362001)(50986999)(50466002)(76176999)(5003940100001)(2950100002)(6916009)(6666003)(77096006)(7416002)(68736007)(5660300001)(105606002)(33646002)(106466001)(2906002)(81156014)(81166006)(8676002)(2351001)(54906002)(1076002)(50226002)(8936002)(85426001)(4326008)(305945005)(356003)(110136004)(8656003)(498600001)(53936002)(316002)(104016004)(97736004)(16586007);\n\tDIR:OUT; SFP:1101; SCL:1; SRVR:SN2PR03MB2365;\n\tH:tx30smr01.am.freescale.net; \n\tFPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; ",
        "X-Microsoft-Exchange-Diagnostics": [
            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KF7rc3OCf3AKSZ/2RO6h3SQ==;\n\t24:uyOs2rSkpJOPIxGLg//TOfYUOA7DN9RfD75Mqny/2GPApnfsuOTZW2XQprxAIO+C2S7c9nWD05tl2gY5Ka3K9jjpm13/APoTA09PhNbhyAM=;\n\t7:STcNN1MORJFsE4oaoKbPONkK1hpVvb+bvpWGO4UTw6Y4zY+gWR4twLztTo3BkATy7Xxg+iP56ux8SD3CgzZPVd0TtZlVz8WFpc3S+75kVo5DN301jNrf8uoP/DyRFnPj5/OTVNgMeRPK3IYU2As5Y7JE/20IIMfA7zgDBsMZuc6kfQDGnVJAF8VY/mu+ukI0YiFHakIEmM3XUqP6zf3e3bQKqeZKa95y/br+770bxiw="
        ],
        "MIME-Version": "1.0",
        "Content-Type": "text/plain",
        "X-MS-PublicTrafficType": "Email",
        "X-MS-Office365-Filtering-Correlation-Id": "9843344a-4117-487a-443d-08d4fb4abc18",
        "X-Microsoft-Antispam": "UriScan:; BCL:0; PCL:0;\n\tRULEID:(300000500095)(300135000095)(300000501095)(300135300095)(300000502095)(300135100095)(22001)(300000503095)(300135400095)(2017052603199)(201703131430075)(201703131517081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);\n\tSRVR:SN2PR03MB2365; ",
        "X-MS-TrafficTypeDiagnostic": "SN2PR03MB2365:",
        "X-Exchange-Antispam-Report-Test": "UriScan:(192374486261705);",
        "X-Microsoft-Antispam-PRVS": "<SN2PR03MB236503586C3FC9357D6D7B6FE66F0@SN2PR03MB2365.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)(100000703101)(100105400095)(93006095)(93001095)(10201501046)(3002001)(6055026)(6096035)(20161123565025)(20161123556025)(201703131430075)(201703131448075)(201703131433075)(201703161259150)(201703151042153)(20161123561025)(20161123563025)(20161123559100)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);\n\tSRVR:SN2PR03MB2365; BCL:0; PCL:0;\n\tRULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095);\n\tSRVR:SN2PR03MB2365; ",
        "X-Forefront-PRVS": "0430FA5CB7",
        "SpamDiagnosticOutput": "1:99",
        "SpamDiagnosticMetadata": "NSPM",
        "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "14 Sep 2017 08:29:36.6381\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.168.50]; \n\tHelo=[tx30smr01.am.freescale.net]",
        "X-MS-Exchange-CrossTenant-FromEntityHeader": "HybridOnPrem",
        "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "SN2PR03MB2365",
        "Subject": "[dpdk-dev] [PATCH 07/11] 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 | 30 ++++++++++++++++++++++++++++++\n 1 file changed, 30 insertions(+)",
    "diff": "diff --git a/lib/librte_ether/rte_flow.h b/lib/librte_ether/rte_flow.h\nindex ea08af6..dce92ca 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,29 @@ struct rte_flow_action_vf {\n };\n \n /**\n+ * RTE_FLOW_ACTION_TYPE_SECURITY\n+ *\n+ * Perform security action on define flow as specified by security session.\n+ * The security session specified in the action must be created on the same port\n+ * 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. For\n+ * example if the security session specifies an egress IPsec SA, then multiple\n+ * flows can be specified to that SA. In the case of an ingress IPsec SA then\n+ * it is only valid to have a single flow to map to that security session.\n+ *\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",
        "07/11"
    ]
}