From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id BFF06A04B3; Mon, 27 Jan 2020 11:31:03 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A7E0E1BF30; Mon, 27 Jan 2020 11:31:02 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 805A337B1 for ; Mon, 27 Jan 2020 11:31:00 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Jan 2020 02:30:59 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,369,1574150400"; d="scan'208";a="221694680" Received: from silpixa00393944.ir.intel.com ([10.237.223.184]) by orsmga008.jf.intel.com with ESMTP; 27 Jan 2020 02:30:58 -0800 From: Hariprasad Govindharajan To: Cc: dev@dpdk.org, Hariprasad Govindharajan Date: Mon, 27 Jan 2020 10:30:51 +0000 Message-Id: <1580121053-26083-1-git-send-email-hariprasad.govindharajan@intel.com> X-Mailer: git-send-email 2.7.4 Subject: [dpdk-dev] [PATCH 0/2] app/testpmd: add portlist option to the testpmd 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" This patchset contains 2 patches. The first one will be changes to testpmd where a new option portlist is added. The second one adds a function eal_parse_optionlist which will parse user input The following new command line parameter is added: --portlist: user can specify the list of forwarding ports In current version, we are setting the ports using portmask. With portmask, we can use only upto 64 ports. This portlist option enables the user to use more than 64 ports. --portlist [-p2][,p3[-p4],...] The following new API is added: eal_parse_optionlist() In current version, there is a function which parses the corelist based on user value. A new generic function eal_parse_optionlist is added which will parse corelist as well as similar user input from the command line Hariprasad Govindharajan (2): app/testpmd: add portlist option to the testpmd eal: add eal_parse_optionlist to parse user input app/test-pmd/config.c | 25 +++++++++++++++++ app/test-pmd/parameters.c | 5 ++++ app/test-pmd/testpmd.h | 3 ++ lib/librte_eal/common/eal_common_options.c | 45 ++++++++++++++++++------------ lib/librte_eal/common/include/rte_eal.h | 34 ++++++++++++++++++++++ lib/librte_eal/rte_eal_version.map | 1 + 6 files changed, 95 insertions(+), 18 deletions(-) -- 2.7.4