Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/74456/?format=api
https://patches.dpdk.org/api/patches/74456/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20200720014636.13145-1-zhihongx.peng@intel.com/", "project": { "id": 1, "url": "https://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": "<20200720014636.13145-1-zhihongx.peng@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/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/?format=api", "name": "Peng, ZhihongX", "email": "zhihongx.peng@intel.com" }, "delegate": { "id": 1540, "url": "https://patches.dpdk.org/api/users/1540/?format=api", "username": "qzhan15", "first_name": "Qi", "last_name": "Zhang", "email": "qi.z.zhang@intel.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20200720014636.13145-1-zhihongx.peng@intel.com/mbox/", "series": [ { "id": 11155, "url": "https://patches.dpdk.org/api/series/11155/?format=api", "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": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.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" ], "IronPort-SDR": [ "\n 9qYIxxAGuLdeovoWO+58MCYgTtotGnIpWHFRsVpkuxFkr4f1pea9JIe199sCmE5Uq7M3VxjGfn\n W/eAOP6mW8ng==", "\n Bqoi1GqTGMIZZXvmRdTrheL31MXhDk+nr8HYCh7RdeCAD6rsqM5QfzODocaUZrVQBLjcwm/v1g\n LaSu1LP25pSQ==" ], "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\"" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "From": "zhihongx.peng@intel.com", "To": "wei.zhao1@intel.com,\n\tjia.guo@intel.com", "Cc": "dev@dpdk.org,\n\tPeng Zhihong <zhihongx.peng@intel.com>,\n\twei.dai@intel.com", "Date": "Sun, 19 Jul 2020 21:46:36 -0400", "Message-Id": "<20200720014636.13145-1-zhihongx.peng@intel.com>", "X-Mailer": "git-send-email 2.17.1", "Subject": "[dpdk-dev] [DPDK] net/e1000: add the VLAN capabilities of NIC", "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 <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 <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <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" ] }{ "id": 74456, "url": "