Show a patch.

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

{
    "id": 74456,
    "url": "https://patches.dpdk.org/api/patches/74456/",
    "web_url": "https://patches.dpdk.org/patch/74456/",
    "project": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/projects/1/",
        "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"
    },
    "msgid": "<20200720014636.13145-1-zhihongx.peng@intel.com>",
    "date": "2020-07-20T01:46:36",
    "name": "[DPDK] net/e1000: add the VLAN capabilities of NIC",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "fde94076586430dcc4096ebd2f650adfbdb26a83",
    "submitter": {
        "id": 1643,
        "url": "https://patches.dpdk.org/api/people/1643/",
        "name": "Peng, ZhihongX",
        "email": "zhihongx.peng@intel.com"
    },
    "delegate": {
        "id": 1540,
        "url": "https://patches.dpdk.org/api/users/1540/",
        "username": "qzhan15",
        "first_name": "Qi",
        "last_name": "Zhang",
        "email": "qi.z.zhang@intel.com"
    },
    "mbox": "https://patches.dpdk.org/patch/74456/mbox/",
    "series": [
        {
            "id": 11155,
            "url": "https://patches.dpdk.org/api/series/11155/",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=11155",
            "date": "2020-07-20T01:46:36",
            "name": "[DPDK] net/e1000: add the VLAN capabilities of NIC",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/11155/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/74456/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/74456/checks/",
    "tags": {},
    "headers": {
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9687\"; a=\"137321033\"",
            "E=Sophos;i=\"5.75,373,1589266800\"; d=\"scan'208\";a=\"137321033\"",
            "E=Sophos;i=\"5.75,373,1589266800\"; d=\"scan'208\";a=\"391900590\""
        ],
        "IronPort-SDR": [
            "\n 9qYIxxAGuLdeovoWO+58MCYgTtotGnIpWHFRsVpkuxFkr4f1pea9JIe199sCmE5Uq7M3VxjGfn\n W/eAOP6mW8ng==",
            "\n Bqoi1GqTGMIZZXvmRdTrheL31MXhDk+nr8HYCh7RdeCAD6rsqM5QfzODocaUZrVQBLjcwm/v1g\n LaSu1LP25pSQ=="
        ],
        "X-Amp-File-Uploaded": "False",
        "Precedence": "list",
        "X-Mailman-Version": "2.1.15",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "List-Post": "<mailto:dev@dpdk.org>",
        "X-BeenThere": "dev@dpdk.org",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "Subject": "[dpdk-dev] [DPDK] net/e1000: add the VLAN capabilities of NIC",
        "Sender": "\"dev\" <dev-bounces@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 6F601A0540;\n\tMon, 20 Jul 2020 03:50:46 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 176FD2C30;\n\tMon, 20 Jul 2020 03:50:45 +0200 (CEST)",
            "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n by dpdk.org (Postfix) with ESMTP id 08A962BB1\n for <dev@dpdk.org>; Mon, 20 Jul 2020 03:50:42 +0200 (CEST)",
            "from fmsmga001.fm.intel.com ([10.253.24.23])\n by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 19 Jul 2020 18:50:41 -0700",
            "from ubuntu.sh.intel.com ([10.240.183.163])\n by fmsmga001.fm.intel.com with ESMTP; 19 Jul 2020 18:50:39 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "X-Mailer": "git-send-email 2.17.1",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "X-ExtLoop1": "1",
        "Date": "Sun, 19 Jul 2020 21:46:36 -0400",
        "To": "wei.zhao1@intel.com,\n\tjia.guo@intel.com",
        "From": "zhihongx.peng@intel.com",
        "Errors-To": "dev-bounces@dpdk.org",
        "Cc": "dev@dpdk.org,\n\tPeng Zhihong <zhihongx.peng@intel.com>,\n\twei.dai@intel.com",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "Message-Id": "<20200720014636.13145-1-zhihongx.peng@intel.com>",
        "Return-Path": "<dev-bounces@dpdk.org>"
    },
    "content": "From: Peng Zhihong <zhihongx.peng@intel.com>\n\nThe rte_eth_dev_set_vlan_offload function will check whether the NIC has\nthe set vlan feature. If it has not, it will return failure. So need\nto add all the vlan feature flags of the NIC.\n\nFixes: ef990fb56e55 (\"net/e1000: convert to new Rx offloads API\")\nCc: wei.dai@intel.com\n\nSigned-off-by: Peng Zhihong <zhihongx.peng@intel.com>\n---\n drivers/net/e1000/igb_rxtx.c | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/e1000/igb_rxtx.c b/drivers/net/e1000/igb_rxtx.c\nindex 5717cdb70..966df3f20 100644\n--- a/drivers/net/e1000/igb_rxtx.c\n+++ b/drivers/net/e1000/igb_rxtx.c\n@@ -1647,7 +1647,8 @@ igb_get_rx_port_offloads_capa(struct rte_eth_dev *dev)\n \t\t\t  DEV_RX_OFFLOAD_JUMBO_FRAME |\n \t\t\t  DEV_RX_OFFLOAD_KEEP_CRC    |\n \t\t\t  DEV_RX_OFFLOAD_SCATTER     |\n-\t\t\t  DEV_RX_OFFLOAD_RSS_HASH;\n+\t\t\t  DEV_RX_OFFLOAD_RSS_HASH    |\n+\t\t\t  DEV_RX_OFFLOAD_VLAN_EXTEND;\n \n \treturn rx_offload_capa;\n }\n",
    "prefixes": [
        "DPDK"
    ]
}