get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 18618,
    "url": "http://patches.dpdk.org/api/patches/18618/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1482939691-34855-4-git-send-email-tiwei.bie@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": "<1482939691-34855-4-git-send-email-tiwei.bie@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1482939691-34855-4-git-send-email-tiwei.bie@intel.com",
    "date": "2016-12-28T15:41:27",
    "name": "[dpdk-dev,v4,3/7] ethdev: reserve capability flags for PMD-specific API",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "5085e852f454293490250c7984b13b18b2090d4b",
    "submitter": {
        "id": 617,
        "url": "http://patches.dpdk.org/api/people/617/?format=api",
        "name": "Tiwei Bie",
        "email": "tiwei.bie@intel.com"
    },
    "delegate": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1482939691-34855-4-git-send-email-tiwei.bie@intel.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/18618/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/18618/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 [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id 929BE5598;\n\tWed, 28 Dec 2016 16:48:18 +0100 (CET)",
            "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n\tby dpdk.org (Postfix) with ESMTP id 2189D37A6\n\tfor <dev@dpdk.org>; Wed, 28 Dec 2016 16:47:29 +0100 (CET)",
            "from fmsmga002.fm.intel.com ([10.253.24.26])\n\tby orsmga101.jf.intel.com with ESMTP; 28 Dec 2016 07:47:29 -0800",
            "from dpdk19.sh.intel.com ([10.239.129.113])\n\tby fmsmga002.fm.intel.com with ESMTP; 28 Dec 2016 07:47:27 -0800"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos; i=\"5.33,422,1477983600\"; d=\"scan'208\";\n\ta=\"1105274770\"",
        "From": "Tiwei Bie <tiwei.bie@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "adrien.mazarguil@6wind.com, wenzhuo.lu@intel.com, john.mcnamara@intel.com,\n\tolivier.matz@6wind.com, thomas.monjalon@6wind.com,\n\tkonstantin.ananyev@intel.com, helin.zhang@intel.com, wei.dai@intel.com,\n\txiao.w.wang@intel.com",
        "Date": "Wed, 28 Dec 2016 23:41:27 +0800",
        "Message-Id": "<1482939691-34855-4-git-send-email-tiwei.bie@intel.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1482939691-34855-1-git-send-email-tiwei.bie@intel.com>",
        "References": "<1482677880-117158-1-git-send-email-tiwei.bie@intel.com>\n\t<1482939691-34855-1-git-send-email-tiwei.bie@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v4 3/7] ethdev: reserve capability flags for\n\tPMD-specific API",
        "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": "Reserve a Tx capability flag and a Rx capability flag, that can be\nused by PMD to define its own capability flags when implementing the\nPMD-specific API.\n\nSuggested-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>\nSigned-off-by: Tiwei Bie <tiwei.bie@intel.com>\n---\n lib/librte_ether/rte_ethdev.h | 2 ++\n 1 file changed, 2 insertions(+)",
    "diff": "diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h\nindex d465825..8800b39 100644\n--- a/lib/librte_ether/rte_ethdev.h\n+++ b/lib/librte_ether/rte_ethdev.h\n@@ -857,6 +857,7 @@ struct rte_eth_conf {\n #define DEV_RX_OFFLOAD_TCP_LRO     0x00000010\n #define DEV_RX_OFFLOAD_QINQ_STRIP  0x00000020\n #define DEV_RX_OFFLOAD_OUTER_IPV4_CKSUM 0x00000040\n+#define DEV_RX_OFFLOAD_RESERVED_0  0x00000080 /**< Used for PMD-specific API. */\n \n /**\n  * TX offload capabilities of a device.\n@@ -874,6 +875,7 @@ struct rte_eth_conf {\n #define DEV_TX_OFFLOAD_GRE_TNL_TSO      0x00000400    /**< Used for tunneling packet. */\n #define DEV_TX_OFFLOAD_IPIP_TNL_TSO     0x00000800    /**< Used for tunneling packet. */\n #define DEV_TX_OFFLOAD_GENEVE_TNL_TSO   0x00001000    /**< Used for tunneling packet. */\n+#define DEV_TX_OFFLOAD_RESERVED_0  0x00002000 /**< Used for PMD-specific API. */\n \n /**\n  * Ethernet device information\n",
    "prefixes": [
        "dpdk-dev",
        "v4",
        "3/7"
    ]
}