Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/83829/?format=api
http://patches.dpdk.org/api/patches/83829/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20201109060517.88557-1-jia.guo@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": "<20201109060517.88557-1-jia.guo@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20201109060517.88557-1-jia.guo@intel.com", "date": "2020-11-09T06:05:17", "name": "[v1] net/iavf: fix rxdid configure", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "c2f13d9bf946db6b00ad36b986c651d0e7f4cce8", "submitter": { "id": 507, "url": "http://patches.dpdk.org/api/people/507/?format=api", "name": "Guo, Jia", "email": "jia.guo@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/20201109060517.88557-1-jia.guo@intel.com/mbox/", "series": [ { "id": 13736, "url": "http://patches.dpdk.org/api/series/13736/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=13736", "date": "2020-11-09T06:05:17", "name": "[v1] net/iavf: fix rxdid configure", "version": 1, "mbox": "http://patches.dpdk.org/series/13736/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/83829/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/83829/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 71560A0527;\n\tMon, 9 Nov 2020 07:15:06 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id D5A2658C4;\n\tMon, 9 Nov 2020 07:15:04 +0100 (CET)", "from mga12.intel.com (mga12.intel.com [192.55.52.136])\n by dpdk.org (Postfix) with ESMTP id 7F409323C\n for <dev@dpdk.org>; Mon, 9 Nov 2020 07:15:03 +0100 (CET)", "from fmsmga005.fm.intel.com ([10.253.24.32])\n by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 08 Nov 2020 22:15:01 -0800", "from npg-dpdk-cvl-jeffguo-01.sh.intel.com ([10.67.111.128])\n by fmsmga005.fm.intel.com with ESMTP; 08 Nov 2020 22:14:59 -0800" ], "IronPort-SDR": [ "\n u7AvgcScERIPfq3YpiPbetEccU86QPo+AaOAzRTjkRotXcAEX3tzeM5SYU48xrF2pMU8E9ey6v\n UX7qYgtFaKTQ==", "\n w95XnUwKR6Gcznf2kbBrBHukMdpT/ePo4tWhWMfZBZZPHiojLa5P13N4/v99WisZ5sEBcPnTtN\n aiQBQK2t4HFg==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9799\"; a=\"149033907\"", "E=Sophos;i=\"5.77,462,1596524400\"; d=\"scan'208\";a=\"149033907\"", "E=Sophos;i=\"5.77,462,1596524400\"; d=\"scan'208\";a=\"530585034\"" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "From": "Jeff Guo <jia.guo@intel.com>", "To": "jingjing.wu@intel.com,\n\tqi.z.zhang@intel.com,\n\tbeilei.xing@intel.com", "Cc": "dev@dpdk.org,\n\tjia.guo@intel.com", "Date": "Mon, 9 Nov 2020 14:05:17 +0800", "Message-Id": "<20201109060517.88557-1-jia.guo@intel.com>", "X-Mailer": "git-send-email 2.20.1", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH v1] net/iavf: fix rxdid configure", "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": "When configure rx queue by virtchnnl, the rxdid should be configured\nonly if the rx queue has been setting up.\n\nFixes: 12b435bf8f2f (\"net/iavf: support flex desc metadata extraction\")\n\nSigned-off-by: Jeff Guo <jia.guo@intel.com>\n---\n drivers/net/iavf/iavf_vchnl.c | 18 +++++++++++-------\n 1 file changed, 11 insertions(+), 7 deletions(-)", "diff": "diff --git a/drivers/net/iavf/iavf_vchnl.c b/drivers/net/iavf/iavf_vchnl.c\nindex 64d194670..33d03af65 100644\n--- a/drivers/net/iavf/iavf_vchnl.c\n+++ b/drivers/net/iavf/iavf_vchnl.c\n@@ -833,20 +833,24 @@ iavf_configure_queues(struct iavf_adapter *adapter,\n \t i++, vc_qp++) {\n \t\tvc_qp->txq.vsi_id = vf->vsi_res->vsi_id;\n \t\tvc_qp->txq.queue_id = i;\n-\t\t/* Virtchnnl configure queues by pairs */\n+\n+\t\t/* Virtchnnl configure tx queues by pairs */\n \t\tif (i < adapter->eth_dev->data->nb_tx_queues) {\n \t\t\tvc_qp->txq.ring_len = txq[i]->nb_tx_desc;\n \t\t\tvc_qp->txq.dma_ring_addr = txq[i]->tx_ring_phys_addr;\n \t\t}\n+\n \t\tvc_qp->rxq.vsi_id = vf->vsi_res->vsi_id;\n \t\tvc_qp->rxq.queue_id = i;\n \t\tvc_qp->rxq.max_pkt_size = vf->max_pkt_len;\n-\t\t/* Virtchnnl configure queues by pairs */\n-\t\tif (i < adapter->eth_dev->data->nb_rx_queues) {\n-\t\t\tvc_qp->rxq.ring_len = rxq[i]->nb_rx_desc;\n-\t\t\tvc_qp->rxq.dma_ring_addr = rxq[i]->rx_ring_phys_addr;\n-\t\t\tvc_qp->rxq.databuffer_size = rxq[i]->rx_buf_len;\n-\t\t}\n+\n+\t\tif (i >= adapter->eth_dev->data->nb_rx_queues)\n+\t\t\tcontinue;\n+\n+\t\t/* Virtchnnl configure rx queues by pairs */\n+\t\tvc_qp->rxq.ring_len = rxq[i]->nb_rx_desc;\n+\t\tvc_qp->rxq.dma_ring_addr = rxq[i]->rx_ring_phys_addr;\n+\t\tvc_qp->rxq.databuffer_size = rxq[i]->rx_buf_len;\n \n #ifndef RTE_LIBRTE_IAVF_16BYTE_RX_DESC\n \t\tif (vf->vf_res->vf_cap_flags &\n", "prefixes": [ "v1" ] }{ "id": 83829, "url": "