get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 63229,
    "url": "http://patches.dpdk.org/api/patches/63229/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20191122123954.17911-2-xavier.huwei@tom.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": "<20191122123954.17911-2-xavier.huwei@tom.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20191122123954.17911-2-xavier.huwei@tom.com",
    "date": "2019-11-22T12:39:49",
    "name": "[1/6] net/hns3: fix RSS hardware configuration restore failure",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "a05b809db5ff2214d477a011f94940a581b195f2",
    "submitter": {
        "id": 1459,
        "url": "http://patches.dpdk.org/api/people/1459/?format=api",
        "name": "Wei Hu (Xavier)",
        "email": "xavier.huwei@tom.com"
    },
    "delegate": {
        "id": 319,
        "url": "http://patches.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20191122123954.17911-2-xavier.huwei@tom.com/mbox/",
    "series": [
        {
            "id": 7584,
            "url": "http://patches.dpdk.org/api/series/7584/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=7584",
            "date": "2019-11-22T12:39:48",
            "name": "Fixes for hns3 PMD driver",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/7584/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/63229/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/63229/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 78268A04C3;\n\tFri, 22 Nov 2019 13:40:17 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 3B4C45B32;\n\tFri, 22 Nov 2019 13:40:10 +0100 (CET)",
            "from smtp.tom.com (smtprz14.163.net [106.3.154.247])\n by dpdk.org (Postfix) with ESMTP id 8AB522C08\n for <dev@dpdk.org>; Fri, 22 Nov 2019 13:40:05 +0100 (CET)",
            "from my-app02.tom.com (my-app02.tom.com [127.0.0.1])\n by freemail02.tom.com (Postfix) with ESMTP id 5A781B00D6B\n for <dev@dpdk.org>; Fri, 22 Nov 2019 20:40:11 +0800 (CST)",
            "from my-app02.tom.com (HELO smtp.tom.com) ([127.0.0.1])\n by my-app02 (TOM SMTP Server) with SMTP ID 572997317\n for <dev@dpdk.org>; Fri, 22 Nov 2019 20:40:11 +0800 (CST)",
            "from antispam2.tom.com (unknown [172.25.16.56])\n by freemail02.tom.com (Postfix) with ESMTP id 47D97B00D4C\n for <dev@dpdk.org>; Fri, 22 Nov 2019 20:40:11 +0800 (CST)",
            "from antispam2.tom.com (antispam2.tom.com [127.0.0.1])\n by antispam2.tom.com (Postfix) with ESMTP id 1D07F817F2\n for <dev@dpdk.org>; Fri, 22 Nov 2019 20:39:49 +0800 (CST)",
            "from antispam2.tom.com ([127.0.0.1])\n by antispam2.tom.com (antispam2.tom.com [127.0.0.1]) (amavisd-new,\n port 10024)\n with ESMTP id 9nxbIjQMyEKw for <dev@dpdk.org>;\n Fri, 22 Nov 2019 20:39:46 +0800 (CST)",
            "from localhost.localdomain (unknown [114.119.4.74])\n by antispam2.tom.com (Postfix) with ESMTPA id 65429817EC;\n Fri, 22 Nov 2019 20:39:46 +0800 (CST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=tom.com; s=201807;\n t=1574426411; bh=WtrCasxu6FDls7wvntLMYSPC3VxSbSpVosMjg5VSjSc=;\n h=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n b=yhn2rPbZ8g81Zva/V4JvwR1dxUhVFvWlaRxT77TDe7eAWRKEZx2ZA8yP0EhSJ9YbO\n TWctQ8smQrzA6B2nPneGNE4BMjf6qQTQvUj/kS3FcG285ZCCTHSht492ZEyqgRkKSG\n DbonnakB+ri6A1td9fymib9bJIiP3oPbBYsWtNK4=",
        "X-Virus-Scanned": "Debian amavisd-new at antispam2.tom.com",
        "From": "\"Wei Hu (Xavier)\" <xavier.huwei@tom.com>",
        "To": "dev@dpdk.org",
        "Cc": "stable@dpdk.org, xavier_huwei@163.com, xavier.huwei@tom.com,\n huwei87@hisilicon.com",
        "Date": "Fri, 22 Nov 2019 20:39:49 +0800",
        "Message-Id": "<20191122123954.17911-2-xavier.huwei@tom.com>",
        "X-Mailer": "git-send-email 2.23.0",
        "In-Reply-To": "<20191122123954.17911-1-xavier.huwei@tom.com>",
        "References": "<20191122123954.17911-1-xavier.huwei@tom.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH 1/6] net/hns3: fix RSS hardware configuration\n\trestore failure",
        "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 <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 <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "From: Hao Chen <chenhao164@huawei.com>\n\nThis patch fixes the bug that hardware configuration called\ntc_size doesn't restore to the initial value when starting\nthe app, configuring PFC and then restarting the app,\nbecause of the tc_mode didn't initial when rss is disabled.\n\nFixes: c37ca66f2b27 (\"net/hns3: support RSS\")\nCc: stable@dpdk.org\n\nSigned-off-by: Hao Chen <chenhao164@huawei.com>\nSigned-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>\n---\n drivers/net/hns3/hns3_rss.c | 4 +---\n 1 file changed, 1 insertion(+), 3 deletions(-)",
    "diff": "diff --git a/drivers/net/hns3/hns3_rss.c b/drivers/net/hns3/hns3_rss.c\nindex 6a5d63398..b8c20e6d9 100644\n--- a/drivers/net/hns3/hns3_rss.c\n+++ b/drivers/net/hns3/hns3_rss.c\n@@ -525,10 +525,8 @@ hns3_config_rss(struct hns3_adapter *hns)\n \tenum rte_eth_rx_mq_mode mq_mode = hw->data->dev_conf.rxmode.mq_mode;\n \n \t/* When there is no open RSS, redirect the packet queue 0 */\n-\tif (((uint32_t)mq_mode & ETH_MQ_RX_RSS_FLAG) == 0) {\n+\tif (((uint32_t)mq_mode & ETH_MQ_RX_RSS_FLAG) == 0)\n \t\thns3_rss_uninit(hns);\n-\t\treturn 0;\n-\t}\n \n \t/* Configure RSS hash algorithm and hash key offset */\n \tret = hns3_set_rss_algo_key(hw, hash_algo, hash_key);\n",
    "prefixes": [
        "1/6"
    ]
}