Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/93123/?format=api
http://patches.dpdk.org/api/patches/93123/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20210511020246.11108-3-alvinx.zhang@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": "<20210511020246.11108-3-alvinx.zhang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20210511020246.11108-3-alvinx.zhang@intel.com", "date": "2021-05-11T02:02:46", "name": "[v3,3/3] net/iavf: fix V-channel message status", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "62f94fdec50ef86f9b442021237571fd22a3f321", "submitter": { "id": 1398, "url": "http://patches.dpdk.org/api/people/1398/?format=api", "name": "Alvin Zhang", "email": "alvinx.zhang@intel.com" }, "delegate": { "id": 1540, "url": "http://patches.dpdk.org/api/users/1540/?format=api", "username": "qzhan15", "first_name": "Qi", "last_name": "Zhang", "email": "qi.z.zhang@intel.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20210511020246.11108-3-alvinx.zhang@intel.com/mbox/", "series": [ { "id": 16914, "url": "http://patches.dpdk.org/api/series/16914/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=16914", "date": "2021-05-11T02:02:44", "name": "[v3,1/3] net/i40e: fix return status for unsupported VF message", "version": 3, "mbox": "http://patches.dpdk.org/series/16914/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/93123/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/93123/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 4279DA0C3F;\n\tTue, 11 May 2021 04:03:07 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 42E85410F8;\n\tTue, 11 May 2021 04:03:00 +0200 (CEST)", "from mga17.intel.com (mga17.intel.com [192.55.52.151])\n by mails.dpdk.org (Postfix) with ESMTP id 6EF1941106;\n Tue, 11 May 2021 04:02:58 +0200 (CEST)", "from fmsmga004.fm.intel.com ([10.253.24.48])\n by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 10 May 2021 19:02:58 -0700", "from shwdenpg235.ccr.corp.intel.com ([10.240.182.60])\n by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 10 May 2021 19:02:55 -0700" ], "IronPort-SDR": [ "\n oGEOXe4N80mI24ZXonA+oIBu+1Qjhs1NGstghM53Q9DQddxmVD4/q5SWuBLp48GyP/U8YjZgai\n Ziy1UzHV147w==", "\n N4ZrYxi5C35xIV3HzqzojIvmK/yVRgnEImyqu80UtdGBt783Y5rMMOUMyXUWCkQ9Wrr9T79FuZ\n GpeSjKfG2j4A==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6200,9189,9980\"; a=\"179595699\"", "E=Sophos;i=\"5.82,290,1613462400\"; d=\"scan'208\";a=\"179595699\"", "E=Sophos;i=\"5.82,290,1613462400\"; d=\"scan'208\";a=\"454746523\"" ], "From": "Alvin Zhang <alvinx.zhang@intel.com>", "To": "beilei.xing@intel.com,\n\tTing.Xu@intel.com", "Cc": "dev@dpdk.org,\n\tAlvin Zhang <alvinx.zhang@intel.com>,\n\tstable@dpdk.org", "Date": "Tue, 11 May 2021 10:02:46 +0800", "Message-Id": "<20210511020246.11108-3-alvinx.zhang@intel.com>", "X-Mailer": "git-send-email 2.21.0.windows.1", "In-Reply-To": "<20210511020246.11108-1-alvinx.zhang@intel.com>", "References": "<20210511015002.16644-1-alvinx.zhang@intel.com>\n <20210511020246.11108-1-alvinx.zhang@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH v3 3/3] net/iavf: fix V-channel message status", "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", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Add support of VIRTCHNL_STATUS_ERR_NOT_IMPLEMENTED for facilitating\ncompatibility with PF.\n\nChange the error log-level from ERROR to WARNING when a V-channel\nmessage is not supported by PF, because the VF may still be able to\nrun without certain features which not supported by PF.\n\nFixes: 0c35eecfe8b5 (\"net/iavf: fix VF to PF command failure handling\")\nCc: stable@dpdk.org\n\nSigned-off-by: Alvin Zhang <alvinx.zhang@intel.com>\n---\n drivers/net/iavf/iavf_vchnl.c | 6 ++++--\n 1 file changed, 4 insertions(+), 2 deletions(-)", "diff": "diff --git a/drivers/net/iavf/iavf_vchnl.c b/drivers/net/iavf/iavf_vchnl.c\nindex 5d57e8b..ca5c56e 100644\n--- a/drivers/net/iavf/iavf_vchnl.c\n+++ b/drivers/net/iavf/iavf_vchnl.c\n@@ -234,8 +234,10 @@\n \t\t\t_clear_cmd(vf);\n \t\t\terr = -EIO;\n \t\t} else if (vf->cmd_retval ==\n-\t\t\t VIRTCHNL_STATUS_ERR_NOT_SUPPORTED) {\n-\t\t\tPMD_DRV_LOG(ERR, \"Cmd %d not supported\", args->ops);\n+\t\t\t VIRTCHNL_STATUS_ERR_NOT_SUPPORTED ||\n+\t\t\t vf->cmd_retval ==\n+\t\t\t VIRTCHNL_STATUS_ERR_NOT_IMPLEMENTED) {\n+\t\t\tPMD_DRV_LOG(WARNING, \"Cmd %d not supported\", args->ops);\n \t\t\terr = -ENOTSUP;\n \t\t} else if (vf->cmd_retval != VIRTCHNL_STATUS_SUCCESS) {\n \t\t\tPMD_DRV_LOG(ERR, \"Return failure %d for cmd %d\",\n", "prefixes": [ "v3", "3/3" ] }{ "id": 93123, "url": "