get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 7246,
    "url": "https://patches.dpdk.org/api/patches/7246/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1443524879-24865-1-git-send-email-zhe.tao@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": "<1443524879-24865-1-git-send-email-zhe.tao@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1443524879-24865-1-git-send-email-zhe.tao@intel.com",
    "date": "2015-09-29T11:07:59",
    "name": "[dpdk-dev] examples/dpdk_qat: Fix RX queue start number to the one just received the packets",
    "commit_ref": null,
    "pull_url": null,
    "state": "not-applicable",
    "archived": true,
    "hash": "eef87b484914f1b5195f18f50c913b83b98c6dfb",
    "submitter": {
        "id": 276,
        "url": "https://patches.dpdk.org/api/people/276/?format=api",
        "name": "Zhe Tao",
        "email": "zhe.tao@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1443524879-24865-1-git-send-email-zhe.tao@intel.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/7246/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/7246/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 BD5525683;\n\tTue, 29 Sep 2015 13:08:07 +0200 (CEST)",
            "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n\tby dpdk.org (Postfix) with ESMTP id 095CE902\n\tfor <dev@dpdk.org>; Tue, 29 Sep 2015 13:08:05 +0200 (CEST)",
            "from fmsmga002.fm.intel.com ([10.253.24.26])\n\tby fmsmga103.fm.intel.com with ESMTP; 29 Sep 2015 04:08:04 -0700",
            "from shvmail01.sh.intel.com ([10.239.29.42])\n\tby fmsmga002.fm.intel.com with ESMTP; 29 Sep 2015 04:08:04 -0700",
            "from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com\n\t[10.239.29.89])\n\tby shvmail01.sh.intel.com with ESMTP id t8TB82nd019576;\n\tTue, 29 Sep 2015 19:08:02 +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 t8TB7x1h024899; Tue, 29 Sep 2015 19:08:02 +0800",
            "(from zhetao@localhost)\n\tby shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id t8TB7xRa024895; \n\tTue, 29 Sep 2015 19:07:59 +0800"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.17,607,1437462000\"; d=\"scan'208\";a=\"815216264\"",
        "From": "Zhe Tao <zhe.tao@intel.com>",
        "To": "dev@dpdk.org",
        "Date": "Tue, 29 Sep 2015 19:07:59 +0800",
        "Message-Id": "<1443524879-24865-1-git-send-email-zhe.tao@intel.com>",
        "X-Mailer": "git-send-email 1.7.4.1",
        "Subject": "[dpdk-dev] [PATCH] examples/dpdk_qat: Fix RX queue start number to\n\tthe one just received the packets",
        "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": "Every time we started to receive the packets, the start queue number\nshould be the one that just received the packets, should not start from zero!\n\nSigned-off-by: Zhe Tao <zhe.tao@intel.com>\n---\n examples/dpdk_qat/main.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/examples/dpdk_qat/main.c b/examples/dpdk_qat/main.c\nindex dc68989..b818e4e 100644\n--- a/examples/dpdk_qat/main.c\n+++ b/examples/dpdk_qat/main.c\n@@ -187,7 +187,7 @@ nic_rx_get_packet(struct lcore_conf *qconf)\n \t\tuint32_t i;\n \n \t\tqconf->rx_mbuf_pos = 0;\n-\t\tfor (i = 0; i < qconf->n_rx_queue; i++) {\n+\t\tfor (i = qconf->rx_curr_queue; i < qconf->n_rx_queue; i++) {\n \t\t\tqconf->rx_mbuf.len = rte_eth_rx_burst(\n \t\t\t\tqconf->rx_queue_list[qconf->rx_curr_queue].port_id,\n \t\t\t\tqconf->rx_queue_list[qconf->rx_curr_queue].queue_id,\n",
    "prefixes": [
        "dpdk-dev"
    ]
}