get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 15243,
    "url": "http://patches.dpdk.org/api/patches/15243/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1471576805-16857-1-git-send-email-beilei.xing@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": "<1471576805-16857-1-git-send-email-beilei.xing@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1471576805-16857-1-git-send-email-beilei.xing@intel.com",
    "date": "2016-08-19T03:20:05",
    "name": "[dpdk-dev] net/i40e: fix parsing QinQ packets type issue",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "e4ef4651f5d1aaa6ed4ef859ff7576991141453e",
    "submitter": {
        "id": 410,
        "url": "http://patches.dpdk.org/api/people/410/?format=api",
        "name": "Xing, Beilei",
        "email": "beilei.xing@intel.com"
    },
    "delegate": {
        "id": 10,
        "url": "http://patches.dpdk.org/api/users/10/?format=api",
        "username": "bruce",
        "first_name": "Bruce",
        "last_name": "Richardson",
        "email": "bruce.richardson@intel.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1471576805-16857-1-git-send-email-beilei.xing@intel.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/15243/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/15243/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 B0F91569F;\n\tFri, 19 Aug 2016 05:20:14 +0200 (CEST)",
            "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n\tby dpdk.org (Postfix) with ESMTP id AE6582C17\n\tfor <dev@dpdk.org>; Fri, 19 Aug 2016 05:20:13 +0200 (CEST)",
            "from orsmga003.jf.intel.com ([10.7.209.27])\n\tby fmsmga101.fm.intel.com with ESMTP; 18 Aug 2016 20:20:12 -0700",
            "from shvmail01.sh.intel.com ([10.239.29.42])\n\tby orsmga003.jf.intel.com with ESMTP; 18 Aug 2016 20:20:11 -0700",
            "from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com\n\t[10.239.29.89])\n\tby shvmail01.sh.intel.com with ESMTP id u7J3K9TY008283;\n\tFri, 19 Aug 2016 11:20:09 +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 u7J3K7vV016891; Fri, 19 Aug 2016 11:20:09 +0800",
            "(from beileixi@localhost)\n\tby shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id u7J3K7C0016887; \n\tFri, 19 Aug 2016 11:20:07 +0800"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.28,543,1464678000\"; d=\"scan'208\";a=\"867997011\"",
        "From": "Beilei Xing <beilei.xing@intel.com>",
        "To": "jingjing.wu@intel.com",
        "Cc": "dev@dpdk.org, Beilei Xing <beilei.xing@intel.com>",
        "Date": "Fri, 19 Aug 2016 11:20:05 +0800",
        "Message-Id": "<1471576805-16857-1-git-send-email-beilei.xing@intel.com>",
        "X-Mailer": "git-send-email 1.7.4.1",
        "Subject": "[dpdk-dev] [PATCH] net/i40e: fix parsing QinQ packets type issue",
        "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": "Previously, PTYPE filed in the RX descriptors is not set properly\nfor QinQ packets, wrong PTYPE is generated because outer Tag did\nnot have ORT/PIT configured.\nFix this issue by configuring ORT/PIT.\n\nFixes: 4861cde46116 (\"i40e: new poll mode driver\")\n\nSigned-off-by: Beilei Xing <beilei.xing@intel.com>\n---\n drivers/net/i40e/i40e_ethdev.c | 2 ++\n 1 file changed, 2 insertions(+)",
    "diff": "diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c\nindex 55c4887..ba0eca0 100644\n--- a/drivers/net/i40e/i40e_ethdev.c\n+++ b/drivers/net/i40e/i40e_ethdev.c\n@@ -747,8 +747,10 @@ static inline void i40e_flex_payload_reg_init(struct i40e_hw *hw)\n \tI40E_WRITE_REG(hw, I40E_GLQF_ORT(20), 0x00000031);\n \tI40E_WRITE_REG(hw, I40E_GLQF_ORT(23), 0x00000031);\n \tI40E_WRITE_REG(hw, I40E_GLQF_ORT(63), 0x0000002D);\n+\tI40E_WRITE_REG(hw, I40E_GLQF_ORT(40), 0x00000029);\n \n \t/* GLQF_PIT Registers */\n+\tI40E_WRITE_REG(hw, I40E_GLQF_PIT(9), 0x00009420);\n \tI40E_WRITE_REG(hw, I40E_GLQF_PIT(16), 0x00007480);\n \tI40E_WRITE_REG(hw, I40E_GLQF_PIT(17), 0x00007440);\n }\n",
    "prefixes": [
        "dpdk-dev"
    ]
}