Show a patch.

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

{
    "id": 74457,
    "url": "https://patches.dpdk.org/api/patches/74457/",
    "web_url": "https://patches.dpdk.org/patch/74457/",
    "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": "<20200720024214.13972-1-zhihongx.peng@intel.com>",
    "date": "2020-07-20T02:42:14",
    "name": "[DPDK] net/i40e: add the VLAN capabilities of NIC",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": true,
    "hash": "b266558e6d2dc1bd6a01b6b3cd9b6bd3192b2745",
    "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/74457/mbox/",
    "series": [
        {
            "id": 11156,
            "url": "https://patches.dpdk.org/api/series/11156/",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=11156",
            "date": "2020-07-20T02:42:14",
            "name": "[DPDK] net/i40e: add the VLAN capabilities of NIC",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/11156/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/74457/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/74457/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=\"148998538\"",
            "E=Sophos;i=\"5.75,373,1589266800\"; d=\"scan'208\";a=\"148998538\"",
            "E=Sophos;i=\"5.75,373,1589266800\"; d=\"scan'208\";a=\"319382407\""
        ],
        "IronPort-SDR": [
            "\n I6UrHH1NyNZiR2PbzxEeG5IZOUJ/b1bcZ1MevPOILgTf3wA9jHM//u282VtKHFKcvaiytKnmS2\n HaXnMp4UmqZg==",
            "\n m5DjjL/nU3a6KNTXbeAxVy26zo0T2rjWMP3tmdcR/yg7hcBHdJuO6FghBcyT2ehygJEt1eEd8f\n r4voB2Ap2s1w=="
        ],
        "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/i40e: 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 4C292A0540;\n\tMon, 20 Jul 2020 04:40:24 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id D2186E07;\n\tMon, 20 Jul 2020 04:40:22 +0200 (CEST)",
            "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n by dpdk.org (Postfix) with ESMTP id E94133B5\n for <dev@dpdk.org>; Mon, 20 Jul 2020 04:40:20 +0200 (CEST)",
            "from fmsmga002.fm.intel.com ([10.253.24.26])\n by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 19 Jul 2020 19:40:19 -0700",
            "from ubuntu.sh.intel.com ([10.240.183.163])\n by fmsmga002.fm.intel.com with ESMTP; 19 Jul 2020 19:40:17 -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 22:42:14 -0400",
        "To": "beilei.xing@intel.com,\n\tjia.guo@intel.com",
        "From": "zhihongx.peng@intel.com",
        "Errors-To": "dev-bounces@dpdk.org",
        "Cc": "dev@dpdk.org, Peng Zhihong <zhihongx.peng@intel.com>,\n declan.doherty@intel.com",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "Message-Id": "<20200720024214.13972-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: e0cb96204b71 (net/i40e: add support for representor ports)\nCc: declan.doherty@intel.com\n\nSigned-off-by: Peng Zhihong <zhihongx.peng@intel.com>\n---\n drivers/net/i40e/i40e_vf_representor.c | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/i40e/i40e_vf_representor.c b/drivers/net/i40e/i40e_vf_representor.c\nindex b07b35c03..083bc1a5f 100644\n--- a/drivers/net/i40e/i40e_vf_representor.c\n+++ b/drivers/net/i40e/i40e_vf_representor.c\n@@ -46,7 +46,8 @@ i40e_vf_representor_dev_infos_get(struct rte_eth_dev *ethdev,\n \t\tDEV_RX_OFFLOAD_QINQ_STRIP |\n \t\tDEV_RX_OFFLOAD_IPV4_CKSUM |\n \t\tDEV_RX_OFFLOAD_UDP_CKSUM |\n-\t\tDEV_RX_OFFLOAD_TCP_CKSUM;\n+\t\tDEV_RX_OFFLOAD_TCP_CKSUM |\n+\t\tDEV_RX_OFFLOAD_VLAN_FILTER;\n \tdev_info->tx_offload_capa =\n \t\tDEV_TX_OFFLOAD_MULTI_SEGS  |\n \t\tDEV_TX_OFFLOAD_VLAN_INSERT |\n",
    "prefixes": [
        "DPDK"
    ]
}