Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/74022/?format=api
http://patches.dpdk.org/api/patches/74022/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200714215108.22437-7-dharmik.thakkar@arm.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": "<20200714215108.22437-7-dharmik.thakkar@arm.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20200714215108.22437-7-dharmik.thakkar@arm.com", "date": "2020-07-14T21:51:08", "name": "[6/6] app/testpmd: enable empty polls in 5tswap", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "14c710f23b8d9228514f02196a5d8e1b3cef2ecd", "submitter": { "id": 1108, "url": "http://patches.dpdk.org/api/people/1108/?format=api", "name": "Dharmik Thakkar", "email": "dharmik.thakkar@arm.com" }, "delegate": { "id": 319, "url": "http://patches.dpdk.org/api/users/319/?format=api", "username": "fyigit", "first_name": "Ferruh", "last_name": "Yigit", "email": "ferruh.yigit@amd.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20200714215108.22437-7-dharmik.thakkar@arm.com/mbox/", "series": [ { "id": 11023, "url": "http://patches.dpdk.org/api/series/11023/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=11023", "date": "2020-07-14T21:51:04", "name": "app/testpmd: add runtime config", "version": 1, "mbox": "http://patches.dpdk.org/series/11023/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/74022/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/74022/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 4B9D3A0540;\n\tTue, 14 Jul 2020 23:52:27 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 374711C23C;\n\tTue, 14 Jul 2020 23:51:51 +0200 (CEST)", "from foss.arm.com (foss.arm.com [217.140.110.172])\n by dpdk.org (Postfix) with ESMTP id 2CB891C18E\n for <dev@dpdk.org>; Tue, 14 Jul 2020 23:51:42 +0200 (CEST)", "from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14])\n by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 609C31477;\n Tue, 14 Jul 2020 14:51:41 -0700 (PDT)", "from localhost.localdomain (2p2660v4-1.austin.arm.com\n [10.118.12.95])\n by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 5B02C3F66E;\n Tue, 14 Jul 2020 14:51:41 -0700 (PDT)" ], "From": "Dharmik Thakkar <dharmik.thakkar@arm.com>", "To": "Wenzhuo Lu <wenzhuo.lu@intel.com>, Beilei Xing <beilei.xing@intel.com>,\n Bernard Iremonger <bernard.iremonger@intel.com>", "Cc": "dev@dpdk.org,\n\tnd@arm.com,\n\tDharmik Thakkar <dharmik.thakkar@arm.com>", "Date": "Tue, 14 Jul 2020 16:51:08 -0500", "Message-Id": "<20200714215108.22437-7-dharmik.thakkar@arm.com>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20200714215108.22437-1-dharmik.thakkar@arm.com>", "References": "<20200520032023.2649-2-dharmik.thakkar@arm.com>\n <20200714215108.22437-1-dharmik.thakkar@arm.com>", "Subject": "[dpdk-dev] [PATCH 6/6] app/testpmd: enable empty polls in 5tswap", "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": "Enable empty polls in burst stats within 5tswap.c\n\nSigned-off-by: Dharmik Thakkar <dharmik.thakkar@arm.com>\nReviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>\n---\n app/test-pmd/5tswap.c | 3 +--\n 1 file changed, 1 insertion(+), 2 deletions(-)", "diff": "diff --git a/app/test-pmd/5tswap.c b/app/test-pmd/5tswap.c\nindex d9026ce86556..3cf1692eaba8 100644\n--- a/app/test-pmd/5tswap.c\n+++ b/app/test-pmd/5tswap.c\n@@ -114,11 +114,10 @@ pkt_burst_5tuple_swap(struct fwd_stream *fs)\n \t */\n \tnb_rx = rte_eth_rx_burst(fs->rx_port, fs->rx_queue, pkts_burst,\n \t\t\t\t nb_pkt_per_burst);\n+\tinc_rx_burst_stats(fs, nb_rx);\n \tif (unlikely(nb_rx == 0))\n \t\treturn;\n \n-\tinc_rx_burst_stats(fs, nb_rx);\n-\n \tfs->rx_packets += nb_rx;\n \ttxp = &ports[fs->tx_port];\n \tol_flags = ol_flags_init(txp->dev_conf.txmode.offloads);\n", "prefixes": [ "6/6" ] }{ "id": 74022, "url": "