Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/50361/?format=api
http://patches.dpdk.org/api/patches/50361/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20190219105951.31046-2-tiwei.bie@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": "<20190219105951.31046-2-tiwei.bie@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20190219105951.31046-2-tiwei.bie@intel.com", "date": "2019-02-19T10:59:47", "name": "[1/5] net/virtio: fix Tx desc cleanup for packed ring", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "1929debdf5e64ca735b2e7a75da9609df4938ea0", "submitter": { "id": 617, "url": "http://patches.dpdk.org/api/people/617/?format=api", "name": "Tiwei Bie", "email": "tiwei.bie@intel.com" }, "delegate": { "id": 2642, "url": "http://patches.dpdk.org/api/users/2642/?format=api", "username": "mcoquelin", "first_name": "Maxime", "last_name": "Coquelin", "email": "maxime.coquelin@redhat.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20190219105951.31046-2-tiwei.bie@intel.com/mbox/", "series": [ { "id": 3481, "url": "http://patches.dpdk.org/api/series/3481/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=3481", "date": "2019-02-19T10:59:46", "name": "Fixes and enhancements for Tx path in Virtio PMD", "version": 1, "mbox": "http://patches.dpdk.org/series/3481/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/50361/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/50361/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@dpdk.org", "Delivered-To": "patchwork@dpdk.org", "Received": [ "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 227FE6C9B;\n\tTue, 19 Feb 2019 12:02:41 +0100 (CET)", "from mga17.intel.com (mga17.intel.com [192.55.52.151])\n\tby dpdk.org (Postfix) with ESMTP id 58E265920;\n\tTue, 19 Feb 2019 12:02:38 +0100 (CET)", "from orsmga002.jf.intel.com ([10.7.209.21])\n\tby fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t19 Feb 2019 03:02:37 -0800", "from dpdk-tbie.sh.intel.com ([10.67.104.173])\n\tby orsmga002.jf.intel.com with ESMTP; 19 Feb 2019 03:02:36 -0800" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.58,388,1544515200\"; d=\"scan'208\";a=\"135430785\"", "From": "Tiwei Bie <tiwei.bie@intel.com>", "To": "maxime.coquelin@redhat.com,\n\tzhihong.wang@intel.com,\n\tdev@dpdk.org", "Cc": "stable@dpdk.org", "Date": "Tue, 19 Feb 2019 18:59:47 +0800", "Message-Id": "<20190219105951.31046-2-tiwei.bie@intel.com>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20190219105951.31046-1-tiwei.bie@intel.com>", "References": "<20190219105951.31046-1-tiwei.bie@intel.com>", "Subject": "[dpdk-dev] [PATCH 1/5] net/virtio: fix Tx desc cleanup for packed\n\tring", "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\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "We should try to cleanup at least the 'need' number of descs.\n\nFixes: 892dc798fa9c (\"net/virtio: implement Tx path for packed queues\")\nCc: stable@dpdk.org\n\nSigned-off-by: Tiwei Bie <tiwei.bie@intel.com>\n---\n drivers/net/virtio/virtio_rxtx.c | 1 -\n 1 file changed, 1 deletion(-)", "diff": "diff --git a/drivers/net/virtio/virtio_rxtx.c b/drivers/net/virtio/virtio_rxtx.c\nindex 4c701c514..b07ceac6d 100644\n--- a/drivers/net/virtio/virtio_rxtx.c\n+++ b/drivers/net/virtio/virtio_rxtx.c\n@@ -1943,7 +1943,6 @@ virtio_xmit_pkts_packed(void *tx_queue, struct rte_mbuf **tx_pkts,\n \n \t\t/* Positive value indicates it need free vring descriptors */\n \t\tif (unlikely(need > 0)) {\n-\t\t\tneed = RTE_MIN(need, (int)nb_pkts);\n \t\t\tvirtio_xmit_cleanup_packed(vq, need);\n \t\t\tneed = slots - vq->vq_free_cnt;\n \t\t\tif (unlikely(need > 0)) {\n", "prefixes": [ "1/5" ] }{ "id": 50361, "url": "