Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/83933/?format=api
http://patches.dpdk.org/api/patches/83933/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20201111030651.15535-1-ting.xu@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": "<20201111030651.15535-1-ting.xu@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20201111030651.15535-1-ting.xu@intel.com", "date": "2020-11-11T03:06:51", "name": "[v1] net/iavf: fix cannot release mbufs issue", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "60848fe988b5a0aca161922e16552601e7b70dc4", "submitter": { "id": 1363, "url": "http://patches.dpdk.org/api/people/1363/?format=api", "name": "Xu, Ting", "email": "ting.xu@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/20201111030651.15535-1-ting.xu@intel.com/mbox/", "series": [ { "id": 13792, "url": "http://patches.dpdk.org/api/series/13792/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=13792", "date": "2020-11-11T03:06:51", "name": "[v1] net/iavf: fix cannot release mbufs issue", "version": 1, "mbox": "http://patches.dpdk.org/series/13792/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/83933/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/83933/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 12830A052A;\n\tWed, 11 Nov 2020 04:03:39 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id EB3EAF90;\n\tWed, 11 Nov 2020 04:03:37 +0100 (CET)", "from mga05.intel.com (mga05.intel.com [192.55.52.43])\n by dpdk.org (Postfix) with ESMTP id 190E22AB;\n Wed, 11 Nov 2020 04:03:34 +0100 (CET)", "from fmsmga004.fm.intel.com ([10.253.24.48])\n by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 10 Nov 2020 19:03:34 -0800", "from dpdk-xuting-second.sh.intel.com ([10.67.116.154])\n by fmsmga004.fm.intel.com with ESMTP; 10 Nov 2020 19:03:31 -0800" ], "IronPort-SDR": [ "\n cM/ucWR5iPXi4cIeMiP661lAzfQIxSY39JRtjFXbekEyxbYQmOxaBPx4GXG2L/8jD0nxE25+fI\n Ddcd7Pt27JRQ==", "\n 9pRZsXbCJtRZZm4sD7OnOiyD1K/lw1OdEeL0Z3t3K3gEYiVf2NdpwXVjMRHMNmM7vwof/+5apw\n kj8shCC9QW6Q==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9801\"; a=\"254795430\"", "E=Sophos;i=\"5.77,468,1596524400\"; d=\"scan'208\";a=\"254795430\"", "E=Sophos;i=\"5.77,468,1596524400\"; d=\"scan'208\";a=\"356439622\"" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "From": "Ting Xu <ting.xu@intel.com>", "To": "dev@dpdk.org", "Cc": "qi.z.zhang@intel.com, beilei.xing@intel.com, jingjing.wu@intel.com,\n Ting Xu <ting.xu@intel.com>, stable@dpdk.org", "Date": "Wed, 11 Nov 2020 11:06:51 +0800", "Message-Id": "<20201111030651.15535-1-ting.xu@intel.com>", "X-Mailer": "git-send-email 2.17.1", "Subject": "[dpdk-dev] [PATCH v1] net/iavf: fix cannot release mbufs issue", "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": "In the function _iavf_rx_queue_release_mbufs_vec to release rx mbufs,\nrxq->rxrearm_nb is given the value of rx descriptor number at last.\nHowever, since the process to release and allocate mbufs lacks the\ninitialization of rxrearm_nb, if we try to release mbufs next time, it\nwill return without releasing directly. In this patch, rxrearm_nb is\ninitialized to be zero in rx queue reset.\n\nFixes: 319c421f3890 (\"net/avf: enable SSE Rx Tx\")\nCc: stable@dpdk.org\n\nSigned-off-by: Ting Xu <ting.xu@intel.com>\n---\n drivers/net/iavf/iavf_rxtx.c | 1 +\n 1 file changed, 1 insertion(+)", "diff": "diff --git a/drivers/net/iavf/iavf_rxtx.c b/drivers/net/iavf/iavf_rxtx.c\nindex baac5d65c8..8f43208c80 100644\n--- a/drivers/net/iavf/iavf_rxtx.c\n+++ b/drivers/net/iavf/iavf_rxtx.c\n@@ -194,6 +194,7 @@ reset_rx_queue(struct iavf_rx_queue *rxq)\n \trxq->nb_rx_hold = 0;\n \trxq->pkt_first_seg = NULL;\n \trxq->pkt_last_seg = NULL;\n+\trxq->rxrearm_nb = 0;\n }\n \n static inline void\n", "prefixes": [ "v1" ] }{ "id": 83933, "url": "