get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 44332,
    "url": "http://patches.dpdk.org/api/patches/44332/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1536251222-17275-2-git-send-email-reshma.pattan@intel.com/",
    "project": {
        "id": 1,
        "url": "http://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": "<1536251222-17275-2-git-send-email-reshma.pattan@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1536251222-17275-2-git-send-email-reshma.pattan@intel.com",
    "date": "2018-09-06T16:26:48",
    "name": "[01/15] net/softnic: add infrastructure for flow API",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "52856bcbceb72a020bbc817699bcb13aa99b7788",
    "submitter": {
        "id": 70,
        "url": "http://patches.dpdk.org/api/people/70/?format=api",
        "name": "Pattan, Reshma",
        "email": "reshma.pattan@intel.com"
    },
    "delegate": {
        "id": 10018,
        "url": "http://patches.dpdk.org/api/users/10018/?format=api",
        "username": "cristian_dumitrescu",
        "first_name": "Cristian",
        "last_name": "Dumitrescu",
        "email": "cristian.dumitrescu@intel.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1536251222-17275-2-git-send-email-reshma.pattan@intel.com/mbox/",
    "series": [
        {
            "id": 1211,
            "url": "http://patches.dpdk.org/api/series/1211/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=1211",
            "date": "2018-09-06T16:26:47",
            "name": "add flow API support to softnic",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/1211/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/44332/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/44332/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 5EB4D4CB3;\n\tThu,  6 Sep 2018 18:27:09 +0200 (CEST)",
            "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n\tby dpdk.org (Postfix) with ESMTP id 4A4E2326C\n\tfor <dev@dpdk.org>; Thu,  6 Sep 2018 18:27:07 +0200 (CEST)",
            "from fmsmga007.fm.intel.com ([10.253.24.52])\n\tby orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t06 Sep 2018 09:27:06 -0700",
            "from sivswdev02.ir.intel.com (HELO localhost.localdomain)\n\t([10.237.217.46])\n\tby fmsmga007.fm.intel.com with ESMTP; 06 Sep 2018 09:27:05 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.53,338,1531810800\"; d=\"scan'208\";a=\"68064416\"",
        "From": "Reshma Pattan <reshma.pattan@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "Cristian Dumitrescu <cristian.dumitrescu@intel.com>,\n\tReshma Pattan <reshma.pattan@intel.com>",
        "Date": "Thu,  6 Sep 2018 17:26:48 +0100",
        "Message-Id": "<1536251222-17275-2-git-send-email-reshma.pattan@intel.com>",
        "X-Mailer": "git-send-email 1.7.0.7",
        "In-Reply-To": "<1536251222-17275-1-git-send-email-reshma.pattan@intel.com>",
        "References": "<1536251222-17275-1-git-send-email-reshma.pattan@intel.com>",
        "Subject": "[dpdk-dev] [PATCH 01/15] net/softnic: add infrastructure for flow\n\tAPI",
        "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://mails.dpdk.org/options/dev>,\n\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Add rte_flow infra structure for flow api support.\n\nSigned-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>\nSigned-off-by: Reshma Pattan <reshma.pattan@intel.com>\n---\n drivers/net/softnic/rte_eth_softnic_internals.h | 17 +++++++++++++++++\n 1 file changed, 17 insertions(+)",
    "diff": "diff --git a/drivers/net/softnic/rte_eth_softnic_internals.h b/drivers/net/softnic/rte_eth_softnic_internals.h\nindex a25eb874c..882cfd191 100644\n--- a/drivers/net/softnic/rte_eth_softnic_internals.h\n+++ b/drivers/net/softnic/rte_eth_softnic_internals.h\n@@ -20,6 +20,7 @@\n \n #include <rte_ethdev_driver.h>\n #include <rte_tm_driver.h>\n+#include <rte_flow_driver.h>\n \n #include \"rte_eth_softnic.h\"\n #include \"conn.h\"\n@@ -43,6 +44,13 @@ struct pmd_params {\n \t} tm;\n };\n \n+/**\n+ * Ethdev Flow API\n+ */\n+struct rte_flow;\n+\n+TAILQ_HEAD(flow_list, rte_flow);\n+\n /**\n  * MEMPOOL\n  */\n@@ -762,6 +770,15 @@ struct softnic_table_rule_action {\n \tstruct rte_table_action_time_params time;\n };\n \n+struct rte_flow {\n+\tTAILQ_ENTRY(rte_flow) node;\n+\tstruct softnic_table_rule_match match;\n+\tstruct softnic_table_rule_action action;\n+\tvoid *data;\n+\tstruct pipeline *pipeline;\n+\tuint32_t table_id;\n+};\n+\n int\n softnic_pipeline_port_in_stats_read(struct pmd_internals *p,\n \tconst char *pipeline_name,\n",
    "prefixes": [
        "01/15"
    ]
}