Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/64391/?format=api
http://patches.dpdk.org/api/patches/64391/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200110083514.134541-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": "<20200110083514.134541-1-lunyuanx.cui@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20200110083514.134541-1-lunyuanx.cui@intel.com", "date": "2020-01-10T08:35:14", "name": "net/i40e: fixed multi-queue Rx interrupt for VF", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "00760972972a9c543879fe02888961094fa680af", "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/20200110083514.134541-1-lunyuanx.cui@intel.com/mbox/", "series": [ { "id": 8044, "url": "http://patches.dpdk.org/api/series/8044/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=8044", "date": "2020-01-10T08:35:14", "name": "net/i40e: fixed multi-queue Rx interrupt for VF", "version": 1, "mbox": "http://patches.dpdk.org/series/8044/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/64391/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/64391/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 80F9BA04F9;\n\tFri, 10 Jan 2020 09:35:53 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 2B39A1E8BE;\n\tFri, 10 Jan 2020 09:35:53 +0100 (CET)", "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n by dpdk.org (Postfix) with ESMTP id 08B771E8A7\n for <dev@dpdk.org>; Fri, 10 Jan 2020 09:35:51 +0100 (CET)", "from fmsmga002.fm.intel.com ([10.253.24.26])\n by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n 10 Jan 2020 00:35:50 -0800", "from intel.sh.intel.com ([10.239.255.129])\n by fmsmga002.fm.intel.com with ESMTP; 10 Jan 2020 00:35:49 -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,415,1571727600\"; d=\"scan'208\";a=\"254892712\"", "From": "Lunyuan Cui <lunyuanx.cui@intel.com>", "To": "dev@dpdk.org", "Cc": "Qiming Yang <qiming.yang@intel.com>, Lunyuan Cui <lunyuanx.cui@intel.com>", "Date": "Fri, 10 Jan 2020 08:35:14 +0000", "Message-Id": "<20200110083514.134541-1-lunyuanx.cui@intel.com>", "X-Mailer": "git-send-email 2.17.1", "Subject": "[dpdk-dev] [PATCH] net/i40e: fixed multi-queue Rx interrupt for VF", "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 value of vectors bound to each queue could not large than\nthe max usable vector. It will let devices start failed.\nThis patch fixed this issue.\n\nFixes: 5b8d2d89dd99 (net/i40e: enable multi-queue Rx interrupt for VF)\n\nSigned-off-by: Lunyuan Cui <lunyuanx.cui@intel.com>\n---\n drivers/net/i40e/i40e_ethdev_vf.c | 6 +-----\n 1 file changed, 1 insertion(+), 5 deletions(-)", "diff": "diff --git a/drivers/net/i40e/i40e_ethdev_vf.c b/drivers/net/i40e/i40e_ethdev_vf.c\nindex 479f8282c..d514e8991 100644\n--- a/drivers/net/i40e/i40e_ethdev_vf.c\n+++ b/drivers/net/i40e/i40e_ethdev_vf.c\n@@ -657,7 +657,6 @@ i40evf_config_irq_map(struct rte_eth_dev *dev)\n \tstruct rte_intr_handle *intr_handle = &pci_dev->intr_handle;\n \tuint32_t vector_id;\n \tint i, err;\n-\tuint16_t nb_msix;\n \n \tif (dev->data->dev_conf.intr_conf.rxq != 0 &&\n \t rte_intr_allow_others(intr_handle))\n@@ -665,9 +664,6 @@ i40evf_config_irq_map(struct rte_eth_dev *dev)\n \telse\n \t\tvector_id = I40E_MISC_VEC_ID;\n \n-\tnb_msix = RTE_MIN(vf->vf_res->max_vectors,\n-\t\t\tintr_handle->nb_efd);\n-\n \tmap_info = (struct virtchnl_irq_map_info *)cmd_buffer;\n \tmap_info->num_vectors = dev->data->nb_rx_queues;\n \tfor (i = 0; i < dev->data->nb_rx_queues; i++) {\n@@ -682,7 +678,7 @@ 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 >= vf->vf_res->max_vectors)\n \t\t\tvector_id = I40E_RX_VEC_START;\n \t}\n \n", "prefixes": [] }{ "id": 64391, "url": "