Show a patch.

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

{
    "id": 74509,
    "url": "https://patches.dpdk.org/api/patches/74509/",
    "web_url": "https://patches.dpdk.org/patch/74509/",
    "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": "<20200721024528.1520-1-zhihongx.peng@intel.com>",
    "date": "2020-07-21T02:45:28",
    "name": "[DPDK,v2] net/i40e: add VLAN filter feature to capability",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "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/74509/mbox/",
    "series": [
        {
            "id": 11180,
            "url": "https://patches.dpdk.org/api/series/11180/",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=11180",
            "date": "2020-07-21T02:45:28",
            "name": "[DPDK,v2] net/i40e: add VLAN filter feature to capability",
            "version": 2,
            "mbox": "https://patches.dpdk.org/series/11180/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/74509/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/74509/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,9688\"; a=\"151395627\"",
            "E=Sophos;i=\"5.75,377,1589266800\"; d=\"scan'208\";a=\"151395627\"",
            "E=Sophos;i=\"5.75,377,1589266800\"; d=\"scan'208\";a=\"392213458\""
        ],
        "IronPort-SDR": [
            "\n fYQEZ5hRPhdzCkI9dujmUdjABvhCGegQIce+Bm2tNYoLg8fhbzr+GyfEgOCAqnCyJcZtUNf3pX\n GBv23w2xq0Fw==",
            "\n Xzsv+ZhvAkC7LjTm9f2YB9gRfcvPnsbDstMytvPOuMhFNLXZQ8BHJwZYYZZPD81imupOFHsw7Z\n OjGXpjktsQMA=="
        ],
        "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>",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "X-BeenThere": "dev@dpdk.org",
        "References": "<20200720024214.13972-1-zhihongx.peng@intel.com>",
        "Subject": "[dpdk-dev] [DPDK v2] net/i40e: add VLAN filter feature to capability",
        "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 4D8EAA0526;\n\tTue, 21 Jul 2020 04:41:49 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 0DF541BFE7;\n\tTue, 21 Jul 2020 04:41:48 +0200 (CEST)",
            "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n by dpdk.org (Postfix) with ESMTP id EB3F91BFE3;\n Tue, 21 Jul 2020 04:41:45 +0200 (CEST)",
            "from fmsmga001.fm.intel.com ([10.253.24.23])\n by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 20 Jul 2020 19:41:44 -0700",
            "from ubuntu.sh.intel.com ([10.240.183.163])\n by fmsmga001.fm.intel.com with ESMTP; 20 Jul 2020 19:41:42 -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": "Mon, 20 Jul 2020 22:45:28 -0400",
        "To": "beilei.xing@intel.com,\n\tjia.guo@intel.com",
        "From": "zhihongx.peng@intel.com",
        "In-Reply-To": "<20200720024214.13972-1-zhihongx.peng@intel.com>",
        "Cc": "dev@dpdk.org,\n\tPeng Zhihong <zhihongx.peng@intel.com>,\n\tstable@dpdk.org",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Message-Id": "<20200721024528.1520-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 vlan rx offload\ncapability, the i40e vf has vlan filter feature but\nDEV_RX_OFFLOAD_VLAN_FILTER is not set into the capability, that will\ncause setting fail. So need to add this capability in\ni40e_vf_representor_dev_infos_get function.\n\nFixes: e0cb96204b71 (net/i40e: add support for representor ports)\nCc: stable@dpdk.org\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",
        "v2"
    ]
}