Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/124872/?format=api
http://patches.dpdk.org/api/patches/124872/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20230309103811.277553-1-mingxia.liu@intel.com/", "project": { "id": 1, "url": "http://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": "<20230309103811.277553-1-mingxia.liu@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20230309103811.277553-1-mingxia.liu@intel.com", "date": "2023-03-09T10:38:11", "name": "[v2] net/cpfl: fix a compiler issue about virtchnl opcode", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "4656431ebda116ef0da61ecc2061a5584e766c9d", "submitter": { "id": 2514, "url": "http://patches.dpdk.org/api/people/2514/?format=api", "name": "Liu, Mingxia", "email": "mingxia.liu@intel.com" }, "delegate": { "id": 319, "url": "http://patches.dpdk.org/api/users/319/?format=api", "username": "fyigit", "first_name": "Ferruh", "last_name": "Yigit", "email": "ferruh.yigit@amd.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20230309103811.277553-1-mingxia.liu@intel.com/mbox/", "series": [ { "id": 27292, "url": "http://patches.dpdk.org/api/series/27292/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=27292", "date": "2023-03-09T10:38:11", "name": "[v2] net/cpfl: fix a compiler issue about virtchnl opcode", "version": 2, "mbox": "http://patches.dpdk.org/series/27292/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/124872/comments/", "check": "fail", "checks": "http://patches.dpdk.org/api/patches/124872/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 mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 4678E41E34;\n\tThu, 9 Mar 2023 03:23:09 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 2802740ED7;\n\tThu, 9 Mar 2023 03:23:09 +0100 (CET)", "from mga17.intel.com (mga17.intel.com [192.55.52.151])\n by mails.dpdk.org (Postfix) with ESMTP id 36F1B40A7E\n for <dev@dpdk.org>; Thu, 9 Mar 2023 03:23:07 +0100 (CET)", "from fmsmga001.fm.intel.com ([10.253.24.23])\n by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 08 Mar 2023 18:23:06 -0800", "from dpdk-mingxial-ice.sh.intel.com ([10.67.110.153])\n by fmsmga001.fm.intel.com with ESMTP; 08 Mar 2023 18:23:03 -0800" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1678328587; x=1709864587;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=HUEqqVBqvr+rLqfvf4gAZOl++qQ8ad9IWbG/WOtI3hQ=;\n b=am3G49ZzCc27LROcLZGUA886diRRBqlQLSZFd3tWYyJqmzDVySlRwS78\n Z2sYmh3tJg24jM14bQwaXQURcIMfy7rBV/Rv9b1spIYB1dn5ICnCLoMKs\n zlLZsazGVgU0LgFYNfiEnGnCsxFYDNXbgN3wAZ2acGAU1zQXIp/ym8tlF\n OSgOy8UWyqe2Swx9Bfr83Gda9iqPt/NMuXYZlpeBX0NAIpkif2bjIoHJk\n kUoxWwrBZfVNia8bMhHagi6QhfDLUODX39hnhl0wTZhcHQmvEpftGDHRz\n vUCBxZ0HbvvEc7nax3hiKlUMi4luaDA68yeCbdMc/fGyj7iR2LbQn4VWC w==;", "X-IronPort-AV": [ "E=McAfee;i=\"6500,9779,10643\"; a=\"316727778\"", "E=Sophos;i=\"5.98,244,1673942400\"; d=\"scan'208\";a=\"316727778\"", "E=McAfee;i=\"6500,9779,10643\"; a=\"820445679\"", "E=Sophos;i=\"5.98,244,1673942400\"; d=\"scan'208\";a=\"820445679\"" ], "X-ExtLoop1": "1", "From": "Mingxia Liu <mingxia.liu@intel.com>", "To": "dev@dpdk.org,\n\tbeilei.xing@intel.com,\n\tyuying.zhang@intel.com", "Cc": "Mingxia Liu <mingxia.liu@intel.com>", "Subject": "[PATCH v2] net/cpfl: fix a compiler issue about virtchnl opcode", "Date": "Thu, 9 Mar 2023 10:38:11 +0000", "Message-Id": "<20230309103811.277553-1-mingxia.liu@intel.com>", "X-Mailer": "git-send-email 2.34.1", "In-Reply-To": "<20230309103142.276726-1-mingxia.liu@intel.com>", "References": "<20230309103142.276726-1-mingxia.liu@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "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" }, "content": "Comparing an enum virtchnl_ops variable with VIRTCHNL2_OP_EVENT\nwill cause a compiler issue, as VIRTCHNL2_OP_EVENT is not included\nin enum virtchnl_ops. And the PMD uses virtual msg opcodes prefixed\nwith virtchnl2 or VIRTCHNL2.\n\nFixes: 20618563b81b (\"net/cpfl: support device initialization\")\n\nSigned-off-by: Mingxia Liu <mingxia.liu@intel.com>\n---\n drivers/net/cpfl/cpfl_ethdev.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/drivers/net/cpfl/cpfl_ethdev.c b/drivers/net/cpfl/cpfl_ethdev.c\nindex 0940bf1276..54261d5743 100644\n--- a/drivers/net/cpfl/cpfl_ethdev.c\n+++ b/drivers/net/cpfl/cpfl_ethdev.c\n@@ -1095,8 +1095,8 @@ cpfl_handle_virtchnl_msg(struct cpfl_adapter_ext *adapter)\n \tstruct idpf_ctlq_msg ctlq_msg;\n \tenum idpf_mbx_opc mbx_op;\n \tstruct idpf_vport *vport;\n-\tenum virtchnl_ops vc_op;\n \tuint16_t pending = 1;\n+\tuint32_t vc_op;\n \tint ret;\n \n \twhile (pending) {\n", "prefixes": [ "v2" ] }{ "id": 124872, "url": "