get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1286,
    "url": "https://patches.dpdk.org/api/patches/1286/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1416067424-31699-3-git-send-email-helin.zhang@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": "<1416067424-31699-3-git-send-email-helin.zhang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1416067424-31699-3-git-send-email-helin.zhang@intel.com",
    "date": "2014-11-15T16:03:38",
    "name": "[dpdk-dev,v6,2/8] i40evf: code style fix",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "e28b55e581ccc6b9d9e1027c79e792d9810e6dce",
    "submitter": {
        "id": 14,
        "url": "https://patches.dpdk.org/api/people/14/?format=api",
        "name": "Zhang, Helin",
        "email": "helin.zhang@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1416067424-31699-3-git-send-email-helin.zhang@intel.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/1286/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/1286/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 048DD7F94;\n\tSat, 15 Nov 2014 16:54:02 +0100 (CET)",
            "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n\tby dpdk.org (Postfix) with ESMTP id 56F5C7F80\n\tfor <dev@dpdk.org>; Sat, 15 Nov 2014 16:53:50 +0100 (CET)",
            "from fmsmga002.fm.intel.com ([10.253.24.26])\n\tby fmsmga102.fm.intel.com with ESMTP; 15 Nov 2014 08:03:57 -0800",
            "from shvmail01.sh.intel.com ([10.239.29.42])\n\tby fmsmga002.fm.intel.com with ESMTP; 15 Nov 2014 08:03:56 -0800",
            "from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com\n\t[10.239.29.89])\n\tby shvmail01.sh.intel.com with ESMTP id sAFG3sIc022241;\n\tSun, 16 Nov 2014 00:03:54 +0800",
            "from shecgisg004.sh.intel.com (localhost [127.0.0.1])\n\tby shecgisg004.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP\n\tid sAFG3q7O031748; Sun, 16 Nov 2014 00:03:54 +0800",
            "(from hzhan75@localhost)\n\tby shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id sAFG3pcQ031744; \n\tSun, 16 Nov 2014 00:03:51 +0800"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.07,391,1413270000\"; d=\"scan'208\";a=\"632472579\"",
        "From": "Helin Zhang <helin.zhang@intel.com>",
        "To": "dev@dpdk.org",
        "Date": "Sun, 16 Nov 2014 00:03:38 +0800",
        "Message-Id": "<1416067424-31699-3-git-send-email-helin.zhang@intel.com>",
        "X-Mailer": "git-send-email 1.7.4.1",
        "In-Reply-To": "<1416067424-31699-1-git-send-email-helin.zhang@intel.com>",
        "References": "<1415283932-20724-1-git-send-email-helin.zhang@intel.com>\n\t<1416067424-31699-1-git-send-email-helin.zhang@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v6 2/8] i40evf: code style fix",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "patches and discussions about DPDK <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": "Fix of several code style issues.\n\nSigned-off-by: Helin Zhang <helin.zhang@intel.com>\n---\n lib/librte_pmd_i40e/i40e_ethdev_vf.c | 12 ++++++++----\n 1 file changed, 8 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/lib/librte_pmd_i40e/i40e_ethdev_vf.c b/lib/librte_pmd_i40e/i40e_ethdev_vf.c\nindex 554d9d7..11f25cc 100644\n--- a/lib/librte_pmd_i40e/i40e_ethdev_vf.c\n+++ b/lib/librte_pmd_i40e/i40e_ethdev_vf.c\n@@ -131,10 +131,14 @@ static int i40evf_dev_rss_hash_update(struct rte_eth_dev *dev,\n \t\t\t\t      struct rte_eth_rss_conf *rss_conf);\n static int i40evf_dev_rss_hash_conf_get(struct rte_eth_dev *dev,\n \t\t\t\t\tstruct rte_eth_rss_conf *rss_conf);\n-static int i40evf_dev_rx_queue_start(struct rte_eth_dev *, uint16_t);\n-static int i40evf_dev_rx_queue_stop(struct rte_eth_dev *, uint16_t);\n-static int i40evf_dev_tx_queue_start(struct rte_eth_dev *, uint16_t);\n-static int i40evf_dev_tx_queue_stop(struct rte_eth_dev *, uint16_t);\n+static int i40evf_dev_rx_queue_start(struct rte_eth_dev *dev,\n+\t\t\t\t     uint16_t rx_queue_id);\n+static int i40evf_dev_rx_queue_stop(struct rte_eth_dev *dev,\n+\t\t\t\t    uint16_t rx_queue_id);\n+static int i40evf_dev_tx_queue_start(struct rte_eth_dev *dev,\n+\t\t\t\t     uint16_t tx_queue_id);\n+static int i40evf_dev_tx_queue_stop(struct rte_eth_dev *dev,\n+\t\t\t\t    uint16_t tx_queue_id);\n \n /* Default hash key buffer for RSS */\n static uint32_t rss_key_default[I40E_VFQF_HKEY_MAX_INDEX + 1];\n",
    "prefixes": [
        "dpdk-dev",
        "v6",
        "2/8"
    ]
}