[dpdk-dev] [PATCH 3/6] test-pmd: allow command line selection of forwarding mode
Richardson, Bruce
bruce.richardson at intel.com
Fri Apr 4 10:21:36 CEST 2014
> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Cyril Chemparathy
> Sent: Thursday, April 03, 2014 6:30 PM
> To: dev at dpdk.org
> Subject: [dpdk-dev] [PATCH 3/6] test-pmd: allow command line selection of forwarding mode
>
> This commit allows testpmd forwarding mode selection through command line parameters instead of having to set this up in
> interactive mode.
>
> Signed-off-by: Cyril Chemparathy <cchemparathy at tilera.com>
> ---
> app/test-pmd/parameters.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/app/test-pmd/parameters.c b/app/test-pmd/parameters.c index 18b52cc..67081d7 100644
> --- a/app/test-pmd/parameters.c
> +++ b/app/test-pmd/parameters.c
> @@ -158,6 +158,7 @@ usage(char* progname)
> printf(" --disable-rss: disable rss.\n");
> printf(" --port-topology=N: set port topology (N: paired (default) or "
> "chained).\n");
> + printf(" --forward-mode=N: set forwarding mode.\n");
The help text should probably include a list of what the modes are and what values need to be provided for each one.
More information about the dev
mailing list