get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 61977,
    "url": "https://patches.dpdk.org/api/patches/61977/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1572007025-43391-3-git-send-email-xavier.huwei@huawei.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": "<1572007025-43391-3-git-send-email-xavier.huwei@huawei.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1572007025-43391-3-git-send-email-xavier.huwei@huawei.com",
    "date": "2019-10-25T12:37:03",
    "name": "[v2,2/4] net/hns3: fix lack of Rx RSS hash in ol flags",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "49ce02085b631fc6b24697cfbb85a509287452fd",
    "submitter": {
        "id": 1405,
        "url": "https://patches.dpdk.org/api/people/1405/?format=api",
        "name": "Wei Hu (Xavier)",
        "email": "xavier.huwei@huawei.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/1572007025-43391-3-git-send-email-xavier.huwei@huawei.com/mbox/",
    "series": [
        {
            "id": 7070,
            "url": "https://patches.dpdk.org/api/series/7070/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=7070",
            "date": "2019-10-25T12:37:04",
            "name": "some fixes for hns3 PMD driver",
            "version": 2,
            "mbox": "https://patches.dpdk.org/series/7070/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/61977/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/61977/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 D7F951C1AF;\n\tFri, 25 Oct 2019 14:36:41 +0200 (CEST)",
            "from huawei.com (szxga06-in.huawei.com [45.249.212.32])\n\tby dpdk.org (Postfix) with ESMTP id 1E9F41C11A\n\tfor <dev@dpdk.org>; Fri, 25 Oct 2019 14:36:37 +0200 (CEST)",
            "from DGGEMS407-HUB.china.huawei.com (unknown [172.30.72.58])\n\tby Forcepoint Email with ESMTP id 228503F16B70ABE3C11C;\n\tFri, 25 Oct 2019 20:36:36 +0800 (CST)",
            "from localhost.localdomain (10.69.192.56) by\n\tDGGEMS407-HUB.china.huawei.com (10.3.19.207) with Microsoft SMTP\n\tServer id 14.3.439.0; Fri, 25 Oct 2019 20:36:26 +0800"
        ],
        "From": "\"Wei Hu (Xavier)\" <xavier.huwei@huawei.com>",
        "To": "<dev@dpdk.org>",
        "CC": "<ferruh.yigit@intel.com>, <linuxarm@huawei.com>, <xavier_huwei@163.com>, \n\t<xavier.huwei@tom.com>, <forest.zhouchang@huawei.com>",
        "Date": "Fri, 25 Oct 2019 20:37:03 +0800",
        "Message-ID": "<1572007025-43391-3-git-send-email-xavier.huwei@huawei.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1572007025-43391-1-git-send-email-xavier.huwei@huawei.com>",
        "References": "<1572007025-43391-1-git-send-email-xavier.huwei@huawei.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain",
        "X-Originating-IP": "[10.69.192.56]",
        "X-CFilter-Loop": "Reflected",
        "Subject": "[dpdk-dev] [PATCH v2 2/4] net/hns3: fix lack of Rx RSS hash in ol\n\tflags",
        "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": "This patch adds PKT_RX_RSS_HASH flag to rx packet's ol_flags\nto repair the bug that hns3 pmd driver doesn't set\nPKT_RX_RSS_HASH flag. In hns3 network engine RSS is always\nenabled.\n\nFixes: bba636698316 (\"net/hns3: support Rx/Tx and related operations\")\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_rxtx.c | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/drivers/net/hns3/hns3_rxtx.c b/drivers/net/hns3/hns3_rxtx.c\nindex 1e8283a..1de238b 100644\n--- a/drivers/net/hns3/hns3_rxtx.c\n+++ b/drivers/net/hns3/hns3_rxtx.c\n@@ -977,6 +977,7 @@ hns3_recv_pkts(void *rx_queue, struct rte_mbuf **rx_pkts, uint16_t nb_pkts)\n \t\tfirst_seg->pkt_len = pkt_len;\n \t\tfirst_seg->port = rxq->port_id;\n \t\tfirst_seg->hash.rss = rte_le_to_cpu_32(rxdp->rx.rss_hash);\n+\t\tfirst_seg->ol_flags |= PKT_RX_RSS_HASH;\n \t\tif (unlikely(hns3_get_bit(bd_base_info, HNS3_RXD_LUM_B))) {\n \t\t\tfirst_seg->hash.fdir.hi =\n \t\t\t\trte_le_to_cpu_32(rxdp->rx.fd_id);\n",
    "prefixes": [
        "v2",
        "2/4"
    ]
}