Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/76198/?format=api
https://patches.dpdk.org/api/patches/76198/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20200901081436.34963-1-junyux.jiang@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": "<20200901081436.34963-1-junyux.jiang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20200901081436.34963-1-junyux.jiang@intel.com", "date": "2020-09-01T08:14:36", "name": "net/iavf: fix mismatch command", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "5b5819f43255171148b09b99f18227d2577e2a55", "submitter": { "id": 1408, "url": "https://patches.dpdk.org/api/people/1408/?format=api", "name": "Junyu Jiang", "email": "junyux.jiang@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/20200901081436.34963-1-junyux.jiang@intel.com/mbox/", "series": [ { "id": 11868, "url": "https://patches.dpdk.org/api/series/11868/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=11868", "date": "2020-09-01T08:14:36", "name": "net/iavf: fix mismatch command", "version": 1, "mbox": "https://patches.dpdk.org/series/11868/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/76198/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/76198/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 8C0D3A04AC;\n\tTue, 1 Sep 2020 10:40:09 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id E6B77E07;\n\tTue, 1 Sep 2020 10:40:08 +0200 (CEST)", "from mga12.intel.com (mga12.intel.com [192.55.52.136])\n by dpdk.org (Postfix) with ESMTP id B22E3CF3;\n Tue, 1 Sep 2020 10:40:06 +0200 (CEST)", "from orsmga002.jf.intel.com ([10.7.209.21])\n by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 01 Sep 2020 01:40:05 -0700", "from intel.sh.intel.com ([10.239.255.70])\n by orsmga002.jf.intel.com with ESMTP; 01 Sep 2020 01:40:03 -0700" ], "IronPort-SDR": [ "\n uTbxAavg8J3tQvkZl038BjaPew9BZDzEN8hRK259BROpozpGbUFe30FwUNBRpJ2Wh54Q9Cnnjx\n VjqKSGSVSGoQ==", "\n hWsaSdHfYIomA+bdwSH/DdanueJtzrIBv5wNPxV58a/uKNPLZQtfSYZp6QTtIEadQCRVOHO71K\n TUDoi6S2KOzA==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9730\"; a=\"136649052\"", "E=Sophos;i=\"5.76,378,1592895600\"; d=\"scan'208\";a=\"136649052\"", "E=Sophos;i=\"5.76,378,1592895600\"; d=\"scan'208\";a=\"314654747\"" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "From": "Junyu Jiang <junyux.jiang@intel.com>", "To": "dev@dpdk.org", "Cc": "Beilei Xing <beilei.xing@intel.com>, Jingjing Wu <jingjing.wu@intel.com>,\n Qiming Yang <qiming.yang@intel.com>, Junyu Jiang <junyux.jiang@intel.com>,\n stable@dpdk.org", "Date": "Tue, 1 Sep 2020 08:14:36 +0000", "Message-Id": "<20200901081436.34963-1-junyux.jiang@intel.com>", "X-Mailer": "git-send-email 2.17.1", "Subject": "[dpdk-dev] [PATCH] net/iavf: fix mismatch command", "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": "The \"command mismatch\" warning shouldn't be triggered by\nVIRTCHNL_OP_EVENT opcode, because the VIRTCHNL_OP_EVENT\nopcode is used by PF notifies status change events to VF.\nThis patch fixed the issue.\n\nFixes: 837c2ed86e4c (\"net/iavf: return error if opcode is mismatched\")\nCc: stable@dpdk.org\n\nSigned-off-by: Junyu Jiang <junyux.jiang@intel.com>\n---\n drivers/net/iavf/iavf_vchnl.c | 7 +++++--\n 1 file changed, 5 insertions(+), 2 deletions(-)", "diff": "diff --git a/drivers/net/iavf/iavf_vchnl.c b/drivers/net/iavf/iavf_vchnl.c\nindex 33acea54a..331018f14 100644\n--- a/drivers/net/iavf/iavf_vchnl.c\n+++ b/drivers/net/iavf/iavf_vchnl.c\n@@ -53,8 +53,11 @@ iavf_read_msg_from_pf(struct iavf_adapter *adapter, uint16_t buf_len,\n \t\t opcode, vf->cmd_retval);\n \n \tif (opcode != vf->pend_cmd) {\n-\t\tPMD_DRV_LOG(WARNING, \"command mismatch, expect %u, get %u\",\n-\t\t\t vf->pend_cmd, opcode);\n+\t\tif (opcode != VIRTCHNL_OP_EVENT) {\n+\t\t\tPMD_DRV_LOG(WARNING,\n+\t\t\t\t \"command mismatch, expect %u, get %u\",\n+\t\t\t\t vf->pend_cmd, opcode);\n+\t\t}\n \t\treturn IAVF_ERR_OPCODE_MISMATCH;\n \t}\n \n", "prefixes": [] }{ "id": 76198, "url": "