[dpdk-dev] [PATCH] app/eventdev: fix typos in timer adapter options

Pavan Nikhilesh pbhagavatula at caviumnetworks.com
Mon Apr 16 12:29:47 CEST 2018


On Mon, Apr 16, 2018 at 12:03:53PM +0200, Thomas Monjalon wrote:
> The options names in code and doc are not the same.
>
> Fixes: 98c6292105d4 ("app/eventdev: add options for event timer adapter")
> Cc: pbhagavatula at caviumnetworks.com
>
> Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
> ---
>  app/test-eventdev/evt_options.c   |  2 +-
>  doc/guides/tools/testeventdev.rst | 12 ++++++------
>  2 files changed, 7 insertions(+), 7 deletions(-)
>
> diff --git a/app/test-eventdev/evt_options.c b/app/test-eventdev/evt_options.c
> index 5f311a570..701cd4e96 100644
> --- a/app/test-eventdev/evt_options.c
> +++ b/app/test-eventdev/evt_options.c
> @@ -248,7 +248,7 @@ usage(char *program)
>  		"\t                             burst mode.\n"
>  		"\t--nb_timers        : number of timers to arm.\n"
>  		"\t--nb_timer_adptrs  : number of timer adapters to use.\n"
> -		"\t--timer_tick_nsec  : timer tick interval in ns.\n"
> +		"\t--timer_tick_ns    : timer tick interval in ns.\n"
>  		"\t--max_tmo_nsec     : max timeout interval in ns.\n"
>  		"\t--expiry_ns        : event timer expiry ns.\n"
>  		);

I think it would be better to maintain consistency across options, I will send
a patch to fix it.

Thanks,
Pavan


More information about the dev mailing list