get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 44746,
    "url": "http://patches.dpdk.org/api/patches/44746/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1536975389-1124-1-git-send-email-jerry.lilijun@huawei.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": "<1536975389-1124-1-git-send-email-jerry.lilijun@huawei.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1536975389-1124-1-git-send-email-jerry.lilijun@huawei.com",
    "date": "2018-09-15T01:36:29",
    "name": "bonding: add QinQ packet xmit hash support",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "98bdd3f0e75875f28fd495d7a3481f75706a58d6",
    "submitter": {
        "id": 205,
        "url": "http://patches.dpdk.org/api/people/205/?format=api",
        "name": "Lilijun (Jerry)",
        "email": "jerry.lilijun@huawei.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1536975389-1124-1-git-send-email-jerry.lilijun@huawei.com/mbox/",
    "series": [
        {
            "id": 1329,
            "url": "http://patches.dpdk.org/api/series/1329/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=1329",
            "date": "2018-09-15T01:36:29",
            "name": "bonding: add QinQ packet xmit hash support",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/1329/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/44746/comments/",
    "check": "warning",
    "checks": "http://patches.dpdk.org/api/patches/44746/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 83D225689;\n\tSat, 15 Sep 2018 03:45:17 +0200 (CEST)",
            "from huawei.com (szxga04-in.huawei.com [45.249.212.190])\n\tby dpdk.org (Postfix) with ESMTP id B03835688\n\tfor <dev@dpdk.org>; Sat, 15 Sep 2018 03:45:15 +0200 (CEST)",
            "from DGGEMS409-HUB.china.huawei.com (unknown [172.30.72.59])\n\tby Forcepoint Email with ESMTP id 95CA2B68EFCDF\n\tfor <dev@dpdk.org>; Sat, 15 Sep 2018 09:45:12 +0800 (CST)",
            "from localhost (10.177.20.134) by DGGEMS409-HUB.china.huawei.com\n\t(10.3.19.209) with Microsoft SMTP Server id 14.3.399.0;\n\tSat, 15 Sep 2018 09:45:06 +0800"
        ],
        "From": "Lilijun <jerry.lilijun@huawei.com>",
        "To": "<dev@dpdk.org>",
        "CC": "Lilijun <jerry.lilijun@huawei.com>",
        "Date": "Sat, 15 Sep 2018 09:36:29 +0800",
        "Message-ID": "<1536975389-1124-1-git-send-email-jerry.lilijun@huawei.com>",
        "X-Mailer": "git-send-email 1.8.4.msysgit.0",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain",
        "X-Originating-IP": "[10.177.20.134]",
        "X-CFilter-Loop": "Reflected",
        "Subject": "[dpdk-dev] [PATCH] [PATCH] bonding: add QinQ packet xmit hash\n\tsupport",
        "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": "For QinQ packet with ether type 0x88a8, dpdk bond's xmit hash policy is\nnot worked to get the ip or port field.\n\nChange-Id: Icb6843aff0a0d176b90ebe19a5c7125412fea5ce\nSigned-off-by: Lilijun <jerry.lilijun@huawei.com>\n---\n drivers/net/bonding/rte_eth_bond_pmd.c | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/bonding/rte_eth_bond_pmd.c b/drivers/net/bonding/rte_eth_bond_pmd.c\nindex 58f7377..4417422 100644\n--- a/drivers/net/bonding/rte_eth_bond_pmd.c\n+++ b/drivers/net/bonding/rte_eth_bond_pmd.c\n@@ -37,7 +37,8 @@\n {\n \tsize_t vlan_offset = 0;\n \n-\tif (rte_cpu_to_be_16(ETHER_TYPE_VLAN) == *proto) {\n+\tif (rte_cpu_to_be_16(ETHER_TYPE_VLAN) == *proto ||\n+\t\trte_cpu_to_be_16(ETHER_TYPE_QINQ) == *proto) {\n \t\tstruct vlan_hdr *vlan_hdr = (struct vlan_hdr *)(eth_hdr + 1);\n \n \t\tvlan_offset = sizeof(struct vlan_hdr);\n",
    "prefixes": []
}