Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/64325/?format=api
http://patches.dpdk.org/api/patches/64325/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200109072026.10517-1-lunyuanx.cui@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": "<20200109072026.10517-1-lunyuanx.cui@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20200109072026.10517-1-lunyuanx.cui@intel.com", "date": "2020-01-09T07:20:26", "name": "net/i40e: add warning log for VF multi-queue Rx interrupt", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "09730674c2509c73c17137d265109d7897ab1168", "submitter": { "id": 1420, "url": "http://patches.dpdk.org/api/people/1420/?format=api", "name": "Cui, LunyuanX", "email": "lunyuanx.cui@intel.com" }, "delegate": { "id": 31221, "url": "http://patches.dpdk.org/api/users/31221/?format=api", "username": "yexl", "first_name": "xiaolong", "last_name": "ye", "email": "xiaolong.ye@intel.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20200109072026.10517-1-lunyuanx.cui@intel.com/mbox/", "series": [ { "id": 8025, "url": "http://patches.dpdk.org/api/series/8025/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=8025", "date": "2020-01-09T07:20:26", "name": "net/i40e: add warning log for VF multi-queue Rx interrupt", "version": 1, "mbox": "http://patches.dpdk.org/series/8025/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/64325/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/64325/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 F2439A04F3;\n\tThu, 9 Jan 2020 08:21:06 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 506471DBAA;\n\tThu, 9 Jan 2020 08:21:06 +0100 (CET)", "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n by dpdk.org (Postfix) with ESMTP id A57851DBA9\n for <dev@dpdk.org>; Thu, 9 Jan 2020 08:21:04 +0100 (CET)", "from fmsmga002.fm.intel.com ([10.253.24.26])\n by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n 08 Jan 2020 23:21:03 -0800", "from intel.sh.intel.com ([10.239.255.129])\n by fmsmga002.fm.intel.com with ESMTP; 08 Jan 2020 23:21:01 -0800" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.69,413,1571727600\"; d=\"scan'208\";a=\"254502970\"", "From": "Lunyuan Cui <lunyuanx.cui@intel.com>", "To": "dev@dpdk.org", "Cc": "Beilei Xing <beilei.xing@intel.com>, Qi Zhang <qi.z.zhang@intel.com>,\n Qiming Yang <qiming.yang@intel.com>, Lunyuan Cui <lunyuanx.cui@intel.com>", "Date": "Thu, 9 Jan 2020 07:20:26 +0000", "Message-Id": "<20200109072026.10517-1-lunyuanx.cui@intel.com>", "X-Mailer": "git-send-email 2.17.1", "Subject": "[dpdk-dev] [PATCH] net/i40e: add warning log for VF multi-queue Rx\n\tinterrupt", "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": "Count of queues per port is over the max usable vector,\nit will cause missing packets. This patch is in order to\nadd suggestive logs.\n\nSigned-off-by: Lunyuan Cui <lunyuanx.cui@intel.com>\n---\n drivers/net/i40e/i40e_ethdev_vf.c | 6 +++++-\n 1 file changed, 5 insertions(+), 1 deletion(-)", "diff": "diff --git a/drivers/net/i40e/i40e_ethdev_vf.c b/drivers/net/i40e/i40e_ethdev_vf.c\nindex 479f8282c..68a0cb8fa 100644\n--- a/drivers/net/i40e/i40e_ethdev_vf.c\n+++ b/drivers/net/i40e/i40e_ethdev_vf.c\n@@ -682,8 +682,12 @@ i40evf_config_irq_map(struct rte_eth_dev *dev)\n \t\t\tintr_handle->intr_vec[i] = vector_id;\n \t\tif (vector_id > I40E_MISC_VEC_ID)\n \t\t\tvector_id++;\n-\t\tif (vector_id > nb_msix)\n+\t\tif (vector_id >= nb_msix) {\n+\t\t\tPMD_DRV_LOG(WARNING, \"Count of queues per port is \"\n+\t\t\t\t\"over the max usable vector(%d), it will \"\n+\t\t\t\t\"cause missing packets.\", nb_msix - 1);\n \t\t\tvector_id = I40E_RX_VEC_START;\n+\t\t}\n \t}\n \n \targs.ops = VIRTCHNL_OP_CONFIG_IRQ_MAP;\n", "prefixes": [] }{ "id": 64325, "url": "