get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1549,
    "url": "https://patches.dpdk.org/api/patches/1549/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1416924682-24170-6-git-send-email-cunming.liang@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": "<1416924682-24170-6-git-send-email-cunming.liang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1416924682-24170-6-git-send-email-cunming.liang@intel.com",
    "date": "2014-11-25T14:11:21",
    "name": "[dpdk-dev,RFC,5/6] ixgbe: rx/tx queue stop bug fix",
    "commit_ref": null,
    "pull_url": null,
    "state": "rfc",
    "archived": true,
    "hash": "f312d227f4141f7fe04be3c91d28c5ed306e82eb",
    "submitter": {
        "id": 46,
        "url": "https://patches.dpdk.org/api/people/46/?format=api",
        "name": "Cunming Liang",
        "email": "cunming.liang@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1416924682-24170-6-git-send-email-cunming.liang@intel.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/1549/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/1549/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 A3B8C7F65;\n\tTue, 25 Nov 2014 15:02:42 +0100 (CET)",
            "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n\tby dpdk.org (Postfix) with ESMTP id E8E17590F\n\tfor <dev@dpdk.org>; Tue, 25 Nov 2014 15:02:33 +0100 (CET)",
            "from fmsmga002.fm.intel.com ([10.253.24.26])\n\tby fmsmga101.fm.intel.com with ESMTP; 25 Nov 2014 06:12:16 -0800",
            "from shvmail01.sh.intel.com ([10.239.29.42])\n\tby fmsmga002.fm.intel.com with ESMTP; 25 Nov 2014 06:12:03 -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 sAPEC1WY024018;\n\tTue, 25 Nov 2014 22:12:01 +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 sAPEBwGf024249; Tue, 25 Nov 2014 22:12:00 +0800",
            "(from cliang18@localhost)\n\tby shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id sAPEBw8L024245; \n\tTue, 25 Nov 2014 22:11:58 +0800"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.07,455,1413270000\"; d=\"scan'208\";a=\"637799007\"",
        "From": "Cunming Liang <cunming.liang@intel.com>",
        "To": "dev@dpdk.org",
        "Date": "Tue, 25 Nov 2014 22:11:21 +0800",
        "Message-Id": "<1416924682-24170-6-git-send-email-cunming.liang@intel.com>",
        "X-Mailer": "git-send-email 1.7.4.1",
        "In-Reply-To": "<1416924682-24170-1-git-send-email-cunming.liang@intel.com>",
        "References": "<1416924682-24170-1-git-send-email-cunming.liang@intel.com>",
        "Subject": "[dpdk-dev] [RFC PATCH 5/6] ixgbe: rx/tx queue stop bug 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": "Signed-off-by: Cunming Liang <cunming.liang@intel.com>\n---\n lib/librte_pmd_ixgbe/ixgbe_rxtx.c | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/lib/librte_pmd_ixgbe/ixgbe_rxtx.c b/lib/librte_pmd_ixgbe/ixgbe_rxtx.c\nindex f9b3fe3..e240376 100644\n--- a/lib/librte_pmd_ixgbe/ixgbe_rxtx.c\n+++ b/lib/librte_pmd_ixgbe/ixgbe_rxtx.c\n@@ -3805,7 +3805,7 @@ ixgbe_dev_rx_queue_stop(struct rte_eth_dev *dev, uint16_t rx_queue_id)\n \t\tdo {\n \t\t\trte_delay_ms(1);\n \t\t\trxdctl = IXGBE_READ_REG(hw, IXGBE_RXDCTL(rxq->reg_idx));\n-\t\t} while (--poll_ms && (rxdctl | IXGBE_RXDCTL_ENABLE));\n+\t\t} while (--poll_ms && (rxdctl & IXGBE_RXDCTL_ENABLE));\n \t\tif (!poll_ms)\n \t\t\tPMD_INIT_LOG(ERR, \"Could not disable Rx Queue %d\",\n \t\t\t\t     rx_queue_id);\n@@ -3906,7 +3906,7 @@ ixgbe_dev_tx_queue_stop(struct rte_eth_dev *dev, uint16_t tx_queue_id)\n \t\t\t\trte_delay_ms(1);\n \t\t\t\ttxdctl = IXGBE_READ_REG(hw,\n \t\t\t\t\t\tIXGBE_TXDCTL(txq->reg_idx));\n-\t\t\t} while (--poll_ms && (txdctl | IXGBE_TXDCTL_ENABLE));\n+\t\t\t} while (--poll_ms && (txdctl & IXGBE_TXDCTL_ENABLE));\n \t\t\tif (!poll_ms)\n \t\t\t\tPMD_INIT_LOG(ERR, \"Could not disable \"\n \t\t\t\t\t     \"Tx Queue %d\", tx_queue_id);\n",
    "prefixes": [
        "dpdk-dev",
        "RFC",
        "5/6"
    ]
}