From patchwork Tue Jul 14 21:51:02 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dharmik Thakkar X-Patchwork-Id: 74018 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id AF481A0540; Tue, 14 Jul 2020 23:51:52 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C85761C1FD; Tue, 14 Jul 2020 23:51:44 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by dpdk.org (Postfix) with ESMTP id 8E87B1C1F3 for ; Tue, 14 Jul 2020 23:51:41 +0200 (CEST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 9EF9730E; Tue, 14 Jul 2020 14:51:40 -0700 (PDT) Received: from localhost.localdomain (2p2660v4-1.austin.arm.com [10.118.12.95]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 981173F66E; Tue, 14 Jul 2020 14:51:40 -0700 (PDT) From: Dharmik Thakkar To: Cc: dev@dpdk.org, nd@arm.com, Dharmik Thakkar Date: Tue, 14 Jul 2020 16:51:02 -0500 Message-Id: <20200714215108.22437-1-dharmik.thakkar@arm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200520032023.2649-2-dharmik.thakkar@arm.com> References: <20200520032023.2649-2-dharmik.thakkar@arm.com> Subject: [dpdk-dev] [PATCH 0/6] app/testpmd: add runtime config X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Meson build system lacks support for CONFIG_RTE_TEST_PMD_RECORD_CORE_CYCLES and CONFIG_RTE_TEST_PMD_RECORD_BURST_STATS configuration options. One solution is to add these options within meson_options.txt Since adding these as runtime config causes no performance impact, it makes sense to enable these as runtime config alongside other available runtime options within testpmd. Dharmik Thakkar (5): app/testpmd: add record-core-cycles runtime config doc: add record-core-cycles to testpmd funcs doc app/testpmd: add record-burst-stats runtime config doc: add record-burst-stats to testpmd funcs doc app/testpmd: enable empty polls in 5tswap Phil Yang (1): app/testpmd: enable burst stats for noisy vnf mode app/test-pmd/5tswap.c | 25 ++---- app/test-pmd/cmdline.c | 92 +++++++++++++++++++++ app/test-pmd/config.c | 12 +++ app/test-pmd/csumonly.c | 24 ++---- app/test-pmd/flowgen.c | 21 ++--- app/test-pmd/icmpecho.c | 24 ++---- app/test-pmd/iofwd.c | 26 ++---- app/test-pmd/macfwd.c | 25 ++---- app/test-pmd/macswap.c | 24 ++---- app/test-pmd/noisy_vnf.c | 4 + app/test-pmd/parameters.c | 11 ++- app/test-pmd/rxonly.c | 19 +---- app/test-pmd/testpmd.c | 77 ++++++++--------- app/test-pmd/testpmd.h | 38 +++++++-- app/test-pmd/txonly.c | 20 +---- doc/guides/testpmd_app_ug/run_app.rst | 8 ++ doc/guides/testpmd_app_ug/testpmd_funcs.rst | 30 +++++++ 17 files changed, 272 insertions(+), 208 deletions(-) Reviewed-by: Ferruh Yigit