From: Hariprasad Govindharajan <hariprasad.govindharajan@intel.com> Cc: dev@dpdk.org, Hariprasad Govindharajan <hariprasad.govindharajan@intel.com> Subject: [dpdk-dev] [PATCH 0/2] app/testpmd: add portlist option to the testpmd Date: Mon, 27 Jan 2020 10:30:51 +0000 Message-ID: <1580121053-26083-1-git-send-email-hariprasad.govindharajan@intel.com> (raw) 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 <p1>[-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
next reply other threads:[~2020-01-27 10:31 UTC|newest] Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-01-27 10:30 Hariprasad Govindharajan [this message] 2020-01-27 10:30 ` [dpdk-dev] [PATCH 1/2] " Hariprasad Govindharajan 2020-01-31 16:22 ` [dpdk-dev] [PATCH v2] " Hariprasad Govindharajan 2020-01-31 17:41 ` [dpdk-dev] [PATCH v3] " Hariprasad Govindharajan 2020-02-03 16:53 ` [dpdk-dev] [PATCH v4] " Hariprasad Govindharajan 2020-02-04 16:48 ` [dpdk-dev] [PATCH v5] " Hariprasad Govindharajan 2020-02-05 10:42 ` Ferruh Yigit 2020-02-06 15:03 ` [dpdk-dev] [PATCH v6] " Hariprasad Govindharajan 2020-02-10 17:19 ` [dpdk-dev] [PATCH v7] app/testpmd: add portlist option Hariprasad Govindharajan 2020-02-11 12:00 ` Burakov, Anatoly 2020-02-11 15:37 ` Govindharajan, Hariprasad 2020-02-11 15:52 ` [dpdk-dev] [PATCH v8] " Hariprasad Govindharajan 2020-02-11 16:51 ` Burakov, Anatoly 2020-02-12 10:25 ` Govindharajan, Hariprasad 2020-02-12 10:29 ` [dpdk-dev] [PATCH v9] " Hariprasad Govindharajan 2020-02-12 13:03 ` Burakov, Anatoly 2020-02-12 13:59 ` Ferruh Yigit 2020-02-12 17:27 ` Lipiec, Herakliusz 2020-02-13 11:31 ` Ferruh Yigit 2020-01-27 10:30 ` [dpdk-dev] [PATCH 2/2] eal: add eal_parse_optionlist to parse user input Hariprasad Govindharajan 2020-01-28 17:35 ` Ferruh Yigit 2020-01-29 17:44 ` David Marchand 2020-01-29 18:07 ` Ferruh Yigit 2020-01-29 19:19 ` Stephen Hemminger 2020-01-31 11:25 ` Govindharajan, Hariprasad 2020-01-31 14:42 ` Govindharajan, Hariprasad
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1580121053-26083-1-git-send-email-hariprasad.govindharajan@intel.com \ --to=hariprasad.govindharajan@intel.com \ --cc=dev@dpdk.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
DPDK patches and discussions This inbox may be cloned and mirrored by anyone: git clone --mirror https://inbox.dpdk.org/dev/0 dev/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 dev dev/ https://inbox.dpdk.org/dev \ dev@dpdk.org public-inbox-index dev Example config snippet for mirrors. Newsgroup available over NNTP: nntp://inbox.dpdk.org/inbox.dpdk.dev AGPL code for this site: git clone https://public-inbox.org/public-inbox.git