Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/62211/?format=api
https://patches.dpdk.org/api/patches/62211/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20191030182131.72399-1-taox.zhu@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": "<20191030182131.72399-1-taox.zhu@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20191030182131.72399-1-taox.zhu@intel.com", "date": "2019-10-30T18:21:31", "name": "net/i40e: qinq strip is not supported by i40e", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "1abb37c9d034e7c0c5733507c8429a6c3735db72", "submitter": { "id": 1368, "url": "https://patches.dpdk.org/api/people/1368/?format=api", "name": "Zhu, TaoX", "email": "taox.zhu@intel.com" }, "delegate": { "id": 31221, "url": "https://patches.dpdk.org/api/users/31221/?format=api", "username": "yexl", "first_name": "xiaolong", "last_name": "ye", "email": "xiaolong.ye@intel.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20191030182131.72399-1-taox.zhu@intel.com/mbox/", "series": [ { "id": 7156, "url": "https://patches.dpdk.org/api/series/7156/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=7156", "date": "2019-10-30T18:21:31", "name": "net/i40e: qinq strip is not supported by i40e", "version": 1, "mbox": "https://patches.dpdk.org/series/7156/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/62211/comments/", "check": "fail", "checks": "https://patches.dpdk.org/api/patches/62211/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 186E4A00BE;\n\tWed, 30 Oct 2019 10:41:07 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id E040C1BE99;\n\tWed, 30 Oct 2019 10:41:06 +0100 (CET)", "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n by dpdk.org (Postfix) with ESMTP id 7C0CB1B9A9\n for <dev@dpdk.org>; Wed, 30 Oct 2019 10:41:05 +0100 (CET)", "from fmsmga002.fm.intel.com ([10.253.24.26])\n by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n 30 Oct 2019 02:41:04 -0700", "from unknown (HELO localhost.localdomain) ([10.240.176.181])\n by fmsmga002.fm.intel.com with ESMTP; 30 Oct 2019 02:41:03 -0700" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.68,247,1569308400\"; d=\"scan'208\";a=\"230386083\"", "From": "taox.zhu@intel.com", "To": "beilei.xing@intel.com,\n\tqi.z.zhang@intel.com", "Cc": "dev@dpdk.org,\n\tZhu Tao <taox.zhu@intel.com>", "Date": "Thu, 31 Oct 2019 02:21:31 +0800", "Message-Id": "<20191030182131.72399-1-taox.zhu@intel.com>", "X-Mailer": "git-send-email 2.17.1", "Subject": "[dpdk-dev] [PATCH] net/i40e: qinq strip is not supported by i40e", "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: Zhu Tao <taox.zhu@intel.com>\n\nQinq strip is not supported by i40e. When user tries to turn on\nQinQ strip, the driver gives unsupported return value and log.\n\nSigned-off-by: Zhu Tao <taox.zhu@intel.com>\n---\n drivers/net/i40e/i40e_ethdev.c | 5 +++++\n 1 file changed, 5 insertions(+)", "diff": "diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c\nindex 77a46832c..ed8cbd849 100644\n--- a/drivers/net/i40e/i40e_ethdev.c\n+++ b/drivers/net/i40e/i40e_ethdev.c\n@@ -3847,6 +3847,11 @@ i40e_vlan_offload_set(struct rte_eth_dev *dev, int mask)\n \tstruct i40e_vsi *vsi = pf->main_vsi;\n \tstruct rte_eth_rxmode *rxmode;\n \n+\tif (mask & ETH_QINQ_STRIP_MASK) {\n+\t\tPMD_DRV_LOG(ERR, \"Strip qinq is not supported.\");\n+\t\treturn -ENOTSUP;\n+\t}\n+\n \trxmode = &dev->data->dev_conf.rxmode;\n \tif (mask & ETH_VLAN_FILTER_MASK) {\n \t\tif (rxmode->offloads & DEV_RX_OFFLOAD_VLAN_FILTER)\n", "prefixes": [] }{ "id": 62211, "url": "