Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/93091/?format=api
https://patches.dpdk.org/api/patches/93091/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20210510122050.32668-2-alvinx.zhang@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": "<20210510122050.32668-2-alvinx.zhang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20210510122050.32668-2-alvinx.zhang@intel.com", "date": "2021-05-10T12:20:48", "name": "net/iavf: fix error logs", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "d7bf757acea7289f8ec82a4651e27040fb80fb1a", "submitter": { "id": 1398, "url": "https://patches.dpdk.org/api/people/1398/?format=api", "name": "Alvin Zhang", "email": "alvinx.zhang@intel.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20210510122050.32668-2-alvinx.zhang@intel.com/mbox/", "series": [ { "id": 16900, "url": "https://patches.dpdk.org/api/series/16900/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=16900", "date": "2021-05-10T12:20:48", "name": "net/iavf: fix error logs", "version": 1, "mbox": "https://patches.dpdk.org/series/16900/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/93091/comments/", "check": "warning", "checks": "https://patches.dpdk.org/api/patches/93091/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 9AF33A0A0E;\n\tMon, 10 May 2021 14:21:07 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 71ECF41108;\n\tMon, 10 May 2021 14:21:02 +0200 (CEST)", "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n by mails.dpdk.org (Postfix) with ESMTP id 9B4E84003E\n for <dev@dpdk.org>; Mon, 10 May 2021 14:20:59 +0200 (CEST)", "from fmsmga004.fm.intel.com ([10.253.24.48])\n by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 10 May 2021 05:20:59 -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 05:20:57 -0700" ], "IronPort-SDR": [ "\n To3ZMOQ1yOVu5W+alAU13l9YzuZsYDPrxASXYK8I1WuIGGa+vJdS/IEhHQh3CAVgb0UVcy8qKF\n VcY/QmaUxF2g==", "\n 1zZvHgJ4EPwiLWOvkt0CVe9r8SrvgGVlXe7qVa/L9dAhrCUgMMU4RIMbajvS21KrwunfGlGrAv\n 42YPUXZtPKgQ==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6200,9189,9979\"; a=\"196085959\"", "E=Sophos;i=\"5.82,287,1613462400\"; d=\"scan'208\";a=\"196085959\"", "E=Sophos;i=\"5.82,287,1613462400\"; d=\"scan'208\";a=\"454392062\"" ], "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>", "Date": "Mon, 10 May 2021 20:20:48 +0800", "Message-Id": "<20210510122050.32668-2-alvinx.zhang@intel.com>", "X-Mailer": "git-send-email 2.21.0.windows.1", "In-Reply-To": "<20210510122050.32668-1-alvinx.zhang@intel.com>", "References": "<20210510122050.32668-1-alvinx.zhang@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH] net/iavf: fix error logs", "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": "Remove some useless logs which are duplicated of the lower-level\nfunction logs and may confuse users when running VF without some\nfeatures supportted by PF.\n\nFixes: 5a038d19962d (\"net/iavf: fix RSS configuration on i40e VF\")\nFixes: 95f2f0e9fc2a (\"net/iavf: improve default RSS\")\n\nSigned-off-by: Alvin Zhang <alvinx.zhang@intel.com>\n---\n drivers/net/iavf/iavf_vchnl.c | 13 ++-----------\n 1 file changed, 2 insertions(+), 11 deletions(-)", "diff": "diff --git a/drivers/net/iavf/iavf_vchnl.c b/drivers/net/iavf/iavf_vchnl.c\nindex ca5c56e..dfa7ce3 100644\n--- a/drivers/net/iavf/iavf_vchnl.c\n+++ b/drivers/net/iavf/iavf_vchnl.c\n@@ -1519,11 +1519,8 @@\n \targs.out_size = IAVF_AQ_BUF_SZ;\n \n \terr = iavf_execute_vf_cmd(adapter, &args);\n-\tif (err) {\n-\t\tPMD_DRV_LOG(ERR,\n-\t\t\t \"Failed to execute command of OP_GET_RSS_HENA_CAPS\");\n+\tif (err)\n \t\treturn err;\n-\t}\n \n \t*caps = ((struct virtchnl_rss_hena *)args.out_buffer)->hena;\n \treturn 0;\n@@ -1535,7 +1532,6 @@\n \tstruct iavf_info *vf = IAVF_DEV_PRIVATE_TO_VF(adapter);\n \tstruct virtchnl_rss_hena vrh;\n \tstruct iavf_cmd_info args;\n-\tint err;\n \n \tvrh.hena = hena;\n \targs.ops = VIRTCHNL_OP_SET_RSS_HENA;\n@@ -1544,12 +1540,7 @@\n \targs.out_buffer = vf->aq_resp;\n \targs.out_size = IAVF_AQ_BUF_SZ;\n \n-\terr = iavf_execute_vf_cmd(adapter, &args);\n-\tif (err)\n-\t\tPMD_DRV_LOG(ERR,\n-\t\t\t \"Failed to execute command of OP_SET_RSS_HENA\");\n-\n-\treturn err;\n+\treturn iavf_execute_vf_cmd(adapter, &args);\n }\n \n int\n", "prefixes": [] }{ "id": 93091, "url": "