get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 38440,
    "url": "https://patches.dpdk.org/api/patches/38440/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20180418210423.13847-3-declan.doherty@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": "<20180418210423.13847-3-declan.doherty@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20180418210423.13847-3-declan.doherty@intel.com",
    "date": "2018-04-18T21:04:19",
    "name": "[dpdk-dev,v4,2/6] ethdev: Add jump action type to rte_flow",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "40613d5cb9592343cb61c46072e1d086f6b76380",
    "submitter": {
        "id": 11,
        "url": "https://patches.dpdk.org/api/people/11/?format=api",
        "name": "Doherty, Declan",
        "email": "declan.doherty@intel.com"
    },
    "delegate": {
        "id": 319,
        "url": "https://patches.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20180418210423.13847-3-declan.doherty@intel.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/38440/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/38440/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 81EBF6CD2;\n\tWed, 18 Apr 2018 23:13:35 +0200 (CEST)",
            "from mga04.intel.com (mga04.intel.com [192.55.52.120])\n\tby dpdk.org (Postfix) with ESMTP id 514A66CCA\n\tfor <dev@dpdk.org>; Wed, 18 Apr 2018 23:13:31 +0200 (CEST)",
            "from fmsmga004.fm.intel.com ([10.253.24.48])\n\tby fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t18 Apr 2018 14:13:31 -0700",
            "from dwdohert-ws.ir.intel.com ([163.33.210.60])\n\tby fmsmga004.fm.intel.com with ESMTP; 18 Apr 2018 14:13:27 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.48,466,1517904000\"; d=\"scan'208\";a=\"47271258\"",
        "From": "Declan Doherty <declan.doherty@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "Alex Rosenbaum <alexr@mellanox.com>,\n\tFerruh Yigit <ferruh.yigit@intel.com>, \n\tThomas Monjalon <thomas@monjalon.net>,\n\tShahaf Shuler <shahafs@mellanox.com>, Qi Zhang <qi.z.zhang@intel.com>,\n\tAlejandro Lucero <alejandro.lucero@netronome.com>,\n\tAndrew Rybchenko <arybchenko@solarflare.com>,\n\tMohammad Abdul Awal <mohammad.abdul.awal@intel.com>,\n\tRemy Horton <remy.horton@intel.com>,\n\tJohn McNamara <john.mcnamara@intel.com>,\n\tRony Efraim <ronye@mellanox.com>, \n\tJingjing Wu <jingjing.wu@intel.com>, Wenzhuo Lu <wenzhuo.lu@intel.com>,\n\tVincent Jardin <vincent.jardin@6wind.com>,\n\tYuanhan Liu <yliu@fridaylinux.org>,\n\tBruce Richardson <bruce.richardson@intel.com>,\n\tKonstantin Ananyev <konstantin.ananyev@intel.com>,\n\tZhihong Wang <zhihong.wang@intel.com>,\n\tDeclan Doherty <declan.doherty@intel.com>",
        "Date": "Wed, 18 Apr 2018 22:04:19 +0100",
        "Message-Id": "<20180418210423.13847-3-declan.doherty@intel.com>",
        "X-Mailer": "git-send-email 2.14.3",
        "In-Reply-To": "<20180418210423.13847-1-declan.doherty@intel.com>",
        "References": "<1523017443-12414-1-git-send-email-declan.doherty@intel.com>\n\t<20180418210423.13847-1-declan.doherty@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v4 2/6] ethdev: Add jump action type to rte_flow",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://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": "<https://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": "Add jump action type which defines an action which allows a matched\nflow to be redirect to the specified group. This allows physical and\nlogical flow table/group hierarchies to be managed through rte_flow.\n\nSigned-off-by: Declan Doherty <declan.doherty@intel.com>\n---\n doc/guides/prog_guide/rte_flow.rst | 26 ++++++++++++++++++++++++--\n lib/librte_ether/rte_flow.h        | 27 +++++++++++++++++++++++++++\n 2 files changed, 51 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/doc/guides/prog_guide/rte_flow.rst b/doc/guides/prog_guide/rte_flow.rst\nindex 672473d33..325010544 100644\n--- a/doc/guides/prog_guide/rte_flow.rst\n+++ b/doc/guides/prog_guide/rte_flow.rst\n@@ -1188,6 +1188,28 @@ flow rules:\n    | 2     | END                        |\n    +-------+----------------------------+\n \n+\n+Action: ``JUMP``\n+^^^^^^^^^^^^^^^^\n+\n+Redirects packets to a group on the current device.\n+\n+In a hierarchy of groups, which can be used to represent physical or logical\n+flow group/tables on the device, this action allows the terminating action to\n+be a group on that device.\n+\n+- Terminating by default.\n+\n+.. _table_rte_flow_action_jump:\n+\n+.. table:: JUMP\n+\n+   +-----------+---------------------------------+\n+   | Field     | Value                           |\n+   +===========+=================================+\n+   | ``group`` | Group ID to redirect packets to |\n+   +-----------+---------------------------------+\n+\n Action: ``MARK``\n ^^^^^^^^^^^^^^^^\n \n@@ -1512,7 +1534,7 @@ the RTE_FLOW_ITEM_TYPE_END item type.\n    | ``definition`` | Tunnel end-point overlay definition |\n    +----------------+-------------------------------------+\n \n-.. _table_rte_flow_action_tunnel_encap_example:\n+.. _table_rte_flow_action_tunnel_encap_vxlan_example:\n \n .. table:: IPv4 VxLAN flow pattern example.\n \n@@ -1551,7 +1573,7 @@ NVGRE network overlay which conforms with RFC 7637 (NVGRE: Network Virtualizatio\n Using Generic Routing Encapsulation). The pattern must be terminated with\n the RTE_FLOW_ITEM_TYPE_END item type.\n \n-.. _table_rte_flow_action_tunnel_encap_example:\n+.. _table_rte_flow_action_tunnel_encap_nvgre_example:\n \n .. table:: IPv4 NVGRE flow pattern example.\n \ndiff --git a/lib/librte_ether/rte_flow.h b/lib/librte_ether/rte_flow.h\nindex 537e1bfba..91544f62b 100644\n--- a/lib/librte_ether/rte_flow.h\n+++ b/lib/librte_ether/rte_flow.h\n@@ -913,6 +913,20 @@ enum rte_flow_action_type {\n \t */\n \tRTE_FLOW_ACTION_TYPE_PASSTHRU,\n \n+\t/**\n+\t * RTE_FLOW_ACTION_TYPE_JUMP\n+\t *\n+\t * Redirects packets to a group on the current device.\n+\t *\n+\t * In a hierarchy of groups, which can be used to represent\n+\t * physical or logical flow groups/tables on a device, this\n+\t * action allows the terminating action to be a group on\n+\t * that device.\n+\t *\n+\t * See struct rte_flow_action_jump\n+\t */\n+\tRTE_FLOW_ACTION_TYPE_JUMP,\n+\n \t/**\n \t * [META]\n \t *\n@@ -1213,6 +1227,19 @@ struct rte_flow_action_tunnel_encap {\n \t */\n };\n \n+/**\n+ * RTE_FLOW_ACTION_TYPE_JUMP\n+ *\n+ * Redirects packets to a group on the current device.\n+ *\n+ * In a hierarchy of groups, which can be used to represent physical or logical\n+ * flow tables on the device, this action allows the action to be a redirect to\n+ * a group on that device.\n+ */\n+struct rte_flow_action_jump {\n+\tuint32_t group;\n+};\n+\n /**\n  * Definition of a single action.\n  *\n",
    "prefixes": [
        "dpdk-dev",
        "v4",
        "2/6"
    ]
}