get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 59055,
    "url": "http://patches.dpdk.org/api/patches/59055/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1568131814-48424-1-git-send-email-xiao.zhang@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": "<1568131814-48424-1-git-send-email-xiao.zhang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1568131814-48424-1-git-send-email-xiao.zhang@intel.com",
    "date": "2019-09-10T16:10:14",
    "name": "examples/l3fwd-power: fix RX interrupt disable",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "5ec96fa7d10ae5e197dfb3360bfb41e0a334287f",
    "submitter": {
        "id": 1352,
        "url": "http://patches.dpdk.org/api/people/1352/?format=api",
        "name": "Xiao Zhang",
        "email": "xiao.zhang@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/1568131814-48424-1-git-send-email-xiao.zhang@intel.com/mbox/",
    "series": [
        {
            "id": 6347,
            "url": "http://patches.dpdk.org/api/series/6347/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=6347",
            "date": "2019-09-10T16:10:14",
            "name": "examples/l3fwd-power: fix RX interrupt disable",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/6347/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/59055/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/59055/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 088061EB58;\n\tTue, 10 Sep 2019 09:16:40 +0200 (CEST)",
            "from mga17.intel.com (mga17.intel.com [192.55.52.151])\n\tby dpdk.org (Postfix) with ESMTP id 5F10B1EB53;\n\tTue, 10 Sep 2019 09:16:38 +0200 (CEST)",
            "from orsmga007.jf.intel.com ([10.7.209.58])\n\tby fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t10 Sep 2019 00:16:37 -0700",
            "from npg-dpdk-zhangxiao.sh.intel.com ([10.67.110.190])\n\tby orsmga007.jf.intel.com with ESMTP; 10 Sep 2019 00:16:35 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.64,487,1559545200\"; d=\"scan'208\";a=\"175221847\"",
        "From": "Xiao Zhang <xiao.zhang@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "yong.liu@intel.com, Xiao Zhang <xiao.zhang@intel.com>, stable@dpdk.org",
        "Date": "Wed, 11 Sep 2019 00:10:14 +0800",
        "Message-Id": "<1568131814-48424-1-git-send-email-xiao.zhang@intel.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "Subject": "[dpdk-dev] examples/l3fwd-power: fix RX interrupt disable",
        "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": "Interrupt will not be received when disabling RX interrupt without\nsynchronization mechanism sometimes which leads to wake up issue,\nadd spinlock to fix it.\n\nFixes: b736d64787fc (\"mples/l3fwd-power: disable Rx interrupt when\nwaking up\")\nCc: stable@dpdk.org\n\nSigned-off-by: Xiao Zhang <xiao.zhang@intel.com>\n---\n examples/l3fwd-power/main.c | 2 ++\n 1 file changed, 2 insertions(+)",
    "diff": "diff --git a/examples/l3fwd-power/main.c b/examples/l3fwd-power/main.c\nindex fd8d952..ff1ad37 100644\n--- a/examples/l3fwd-power/main.c\n+++ b/examples/l3fwd-power/main.c\n@@ -880,7 +880,9 @@ sleep_until_rx_interrupt(int num)\n \t\tport_id = ((uintptr_t)data) >> CHAR_BIT;\n \t\tqueue_id = ((uintptr_t)data) &\n \t\t\tRTE_LEN2MASK(CHAR_BIT, uint8_t);\n+\t\trte_spinlock_lock(&(locks[port_id]));\n \t\trte_eth_dev_rx_intr_disable(port_id, queue_id);\n+\t\trte_spinlock_unlock(&(locks[port_id]));\n \t\tRTE_LOG(INFO, L3FWD_POWER,\n \t\t\t\"lcore %u is waked up from rx interrupt on\"\n \t\t\t\" port %d queue %d\\n\",\n",
    "prefixes": []
}