get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 28807,
    "url": "https://patches.dpdk.org/api/patches/28807/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1505649991-3463-3-git-send-email-borisp@mellanox.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": "<1505649991-3463-3-git-send-email-borisp@mellanox.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1505649991-3463-3-git-send-email-borisp@mellanox.com",
    "date": "2017-09-17T12:06:31",
    "name": "[dpdk-dev,2/2] ethdev: update documentation for security action",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "652ed8ed846d25dfac09f6ae638d0e29f4c17074",
    "submitter": {
        "id": 789,
        "url": "https://patches.dpdk.org/api/people/789/?format=api",
        "name": "Boris Pismenny",
        "email": "borisp@mellanox.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1505649991-3463-3-git-send-email-borisp@mellanox.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/28807/comments/",
    "check": "fail",
    "checks": "https://patches.dpdk.org/api/patches/28807/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 F148D1AF03;\n\tSun, 17 Sep 2017 14:12:48 +0200 (CEST)",
            "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n\tby dpdk.org (Postfix) with ESMTP id D98F51AEEB\n\tfor <dev@dpdk.org>; Sun, 17 Sep 2017 14:12:46 +0200 (CEST)",
            "from Internal Mail-Server by MTLPINE1 (envelope-from\n\tborisp@mellanox.com)\n\twith ESMTPS (AES256-SHA encrypted); 17 Sep 2017 15:06:53 +0300",
            "from gen-l-vrt-098.mtl.labs.mlnx (gen-l-vrt-098.mtl.labs.mlnx\n\t[10.137.170.1])\n\tby labmailer.mlnx (8.13.8/8.13.8) with ESMTP id v8HC6oEj013909;\n\tSun, 17 Sep 2017 15:06:52 +0300"
        ],
        "From": "Boris Pismenny <borisp@mellanox.com>",
        "To": "dev@dpdk.org",
        "Cc": "akhil.goyal@nxp.com, declan.doherty@intel.com,\n\tpablo.de.lara.guarch@intel.com, hemant.agrawal@nxp.com,\n\tradu.nicolau@intel.com, borisp@mellanox.com, aviadye@mellanox.com,\n\tthomas@monjalon.net, sandeep.malik@nxp.com,\n\tjerin.jacob@caviumnetworks.com, nelio.laranjeiro@6wind.com,\n\tliranl@mellanox.com",
        "Date": "Sun, 17 Sep 2017 15:06:31 +0300",
        "Message-Id": "<1505649991-3463-3-git-send-email-borisp@mellanox.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "In-Reply-To": "<1505649991-3463-1-git-send-email-borisp@mellanox.com>",
        "References": "<1505649991-3463-1-git-send-email-borisp@mellanox.com>",
        "Subject": "[dpdk-dev] [PATCH 2/2] ethdev: update documentation for security\n\taction",
        "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": "Signed-off-by: Boris Pismenny <borisp@mellanox.com>\n---\n lib/librte_ether/rte_flow.h | 24 ++++++++++++++++--------\n 1 file changed, 16 insertions(+), 8 deletions(-)",
    "diff": "diff --git a/lib/librte_ether/rte_flow.h b/lib/librte_ether/rte_flow.h\nindex dce92ca..48d4fca 100644\n--- a/lib/librte_ether/rte_flow.h\n+++ b/lib/librte_ether/rte_flow.h\n@@ -1043,19 +1043,27 @@ struct rte_flow_action_vf {\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+ * 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. 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+ * Multiple flows can be configured to use the same security session.\n  *\n  * Non-terminating by default.\n  */\n",
    "prefixes": [
        "dpdk-dev",
        "2/2"
    ]
}