get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 56800,
    "url": "https://patches.dpdk.org/api/patches/56800/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20190720071956.68197-2-ajit.khaparde@broadcom.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": "<20190720071956.68197-2-ajit.khaparde@broadcom.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20190720071956.68197-2-ajit.khaparde@broadcom.com",
    "date": "2019-07-20T07:19:56",
    "name": "[2/2] net/bnxt: fix an issue with rxq0 stop",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": true,
    "hash": "36dd8faf20309dc6fc28f121e1f6b97d97d9623b",
    "submitter": {
        "id": 501,
        "url": "https://patches.dpdk.org/api/people/501/?format=api",
        "name": "Ajit Khaparde",
        "email": "ajit.khaparde@broadcom.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/20190720071956.68197-2-ajit.khaparde@broadcom.com/mbox/",
    "series": [
        {
            "id": 5628,
            "url": "https://patches.dpdk.org/api/series/5628/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=5628",
            "date": "2019-07-20T07:19:55",
            "name": "[1/2] net/bnxt: fix rxq start",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/5628/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/56800/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/56800/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 7AD611B197;\n\tSat, 20 Jul 2019 09:20:12 +0200 (CEST)",
            "from rnd-relay.smtp.broadcom.com (rnd-relay.smtp.broadcom.com\n\t[192.19.229.170]) by dpdk.org (Postfix) with ESMTP id 114061B53\n\tfor <dev@dpdk.org>; Sat, 20 Jul 2019 09:20:10 +0200 (CEST)",
            "from nis-sj1-27.broadcom.com (nis-sj1-27.lvn.broadcom.net\n\t[10.75.144.136])\n\tby rnd-relay.smtp.broadcom.com (Postfix) with ESMTP id 19FD830C0CD;\n\tSat, 20 Jul 2019 00:20:09 -0700 (PDT)",
            "from localhost.localdomain (unknown [10.230.47.58])\n\tby nis-sj1-27.broadcom.com (Postfix) with ESMTP id A78FDAC0749;\n\tSat, 20 Jul 2019 00:20:06 -0700 (PDT)"
        ],
        "DKIM-Filter": "OpenDKIM Filter v2.10.3 rnd-relay.smtp.broadcom.com 19FD830C0CD",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=broadcom.com;\n\ts=dkimrelay; t=1563607209;\n\tbh=gkWKF8KU93xO6kD8CtxLGzIB3BPCmMy0beP+M1/WHQY=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=vkMibCxYbSbzr165krQBDar12Xn8RuHZEClgrNMeb2q1PNosFSa/wJPgsdwrY+amx\n\t/cFZlS3SEvkxmXVFcvGjOGiHI8raAS8e/aQKAbAkDEtEyb5KdRFEJjwMXKp9aj1v35\n\txvtsrZBFBehNONL5JqDXJkseilGY4OBhge1RPNwo=",
        "From": "Ajit Khaparde <ajit.khaparde@broadcom.com>",
        "To": "dev@dpdk.org",
        "Cc": "ferruh.yigit@intel.com, Kalesh AP <kalesh-anakkur.purayil@broadcom.com>, \n\tLance Richardson <lance.richardson@broadcom.com>",
        "Date": "Sat, 20 Jul 2019 12:49:56 +0530",
        "Message-Id": "<20190720071956.68197-2-ajit.khaparde@broadcom.com>",
        "X-Mailer": "git-send-email 2.20.1 (Apple Git-117)",
        "In-Reply-To": "<20190720071956.68197-1-ajit.khaparde@broadcom.com>",
        "References": "<20190720071956.68197-1-ajit.khaparde@broadcom.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH 2/2] net/bnxt: fix an issue with rxq0 stop",
        "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": "From: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>\n\nFor the stingray platform and other platforms needing tighter\ncontrol of resource utilization, we process async events on\nreceive completion ring0.\n\nFor other chips there is a dedicated completion ring for\nasynchronous event handling instead of handling these events\non a receive completion ring.\n\nThis patch fixes the check for rxq0 stop.\n\nFixes: 05b5e4821c1e (\"net/bnxt: use dedicated CPR for async events\")\n\nReviewed-by: Lance Richardson <lance.richardson@broadcom.com>\nSigned-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>\nSigned-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>\n---\n drivers/net/bnxt/bnxt_rxq.c | 7 +++++--\n 1 file changed, 5 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/drivers/net/bnxt/bnxt_rxq.c b/drivers/net/bnxt/bnxt_rxq.c\nindex 4082c3aa9..8c7608621 100644\n--- a/drivers/net/bnxt/bnxt_rxq.c\n+++ b/drivers/net/bnxt/bnxt_rxq.c\n@@ -458,8 +458,11 @@ int bnxt_rx_queue_stop(struct rte_eth_dev *dev, uint16_t rx_queue_id)\n \tstruct bnxt_rx_queue *rxq = NULL;\n \tint rc = 0;\n \n-\t/* Rx CQ 0 also works as Default CQ for async notifications */\n-\tif (!rx_queue_id) {\n+\t/* For the stingray platform and other platforms needing tighter\n+\t * control of resource utilization, Rx CQ 0 also works as\n+\t * Default CQ for async notifications\n+\t */\n+\tif (!BNXT_NUM_ASYNC_CPR && !rx_queue_id) {\n \t\tPMD_DRV_LOG(ERR, \"Cannot stop Rx queue id %d\\n\", rx_queue_id);\n \t\treturn -EINVAL;\n \t}\n",
    "prefixes": [
        "2/2"
    ]
}