From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id C8E311B173 for ; Mon, 16 Apr 2018 12:04:08 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id F3D6821C19; Mon, 16 Apr 2018 06:04:07 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 16 Apr 2018 06:04:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:date:from:message-id:subject:to:x-me-sender:x-me-sender :x-sasl-enc; s=mesmtp; bh=cJNIp9B9rKzNgdBZ8+I6SrRtv55PC+Jz8/rg8O 95e2Y=; b=XNYueZbVN+PueC7HXnd5Qx5Kys+qlClth2MvnfDoURi2KJ2i3tJqun +ptj6n5uYpIwfjTvdjBYrsgEkefUsA1myMBRdyFt//JlPn655O1GzlY9/3hRwvMh e5hTJpreXoRlZDXIEHm+zT+x0hNKdT3jdItmj3VEHJAol605jBxmk= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:message-id:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=cJNIp9B9rKzNgdBZ8 +I6SrRtv55PC+Jz8/rg8O95e2Y=; b=l41wgEB7FxYaBk2ROoZHccdBgQc3Mv45a ImNkKAry5YFZ+SDzBiho5ntaMMHisnwCL7GuvKmf/Jf/rS4w6j8IA1xLxAmEHeOU VxwGqHzpfPEpVC7jUhI/mLxyhBGN/xV/CHLyMYqTcNWccwZV8EKaGwLwSfUx+hn+ d4UBDDHtTdmwIVqQ1U5o9SZ0dDYl+o0reDEbIknyNBfm98xGFmydCM6ZLb/jVZYQ wnf2CmPI/Mt4ffNjx/ApfTv5DfvC8IazI/IOlusoYOSFsAgYlldiTx2D85aQI7Aw OQHRrjcM/lMjE3ompXp1oAqT4zaCxEB1ad8VOZ14Pr18rlUg5lGsA== X-ME-Sender: Received: from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 4641FE47A1; Mon, 16 Apr 2018 06:04:07 -0400 (EDT) From: Thomas Monjalon To: dev@dpdk.org Cc: pbhagavatula@caviumnetworks.com Date: Mon, 16 Apr 2018 12:03:53 +0200 Message-Id: <20180416100353.28271-1-thomas@monjalon.net> X-Mailer: git-send-email 2.16.2 Subject: [dpdk-dev] [PATCH] app/eventdev: fix typos in timer adapter options 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: , X-List-Received-Date: Mon, 16 Apr 2018 10:04:09 -0000 The options names in code and doc are not the same. Fixes: 98c6292105d4 ("app/eventdev: add options for event timer adapter") Cc: pbhagavatula@caviumnetworks.com Signed-off-by: Thomas Monjalon --- 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" ); diff --git a/doc/guides/tools/testeventdev.rst b/doc/guides/tools/testeventdev.rst index 46effd871..b03c4a17b 100644 --- a/doc/guides/tools/testeventdev.rst +++ b/doc/guides/tools/testeventdev.rst @@ -131,7 +131,7 @@ The following are the application command-line options: Use burst mode event timer adapter as producer. - * ``--timer_tick_nsec`` + * ``--timer_tick_ns`` Used to dictate number of nano seconds between bucket traversal of the event timer adapter. Refer `rte_event_timer_adapter_conf`. @@ -140,7 +140,7 @@ The following are the application command-line options: Used to configure event timer adapter max arm timeout in nano seconds. - * ``--expiry_nsec`` + * ``--expiry_ns`` Dictate the number of nano seconds after which the event timer expires. @@ -379,9 +379,9 @@ Supported application command line options are following:: --prod_type_ethdev --prod_type_timerdev_burst --prod_type_timerdev - --timer_tick_nsec + --timer_tick_ns --max_tmo_nsec - --expiry_nsec + --expiry_ns --nb_timers --nb_timer_adptrs @@ -478,9 +478,9 @@ Supported application command line options are following:: --prod_type_ethdev --prod_type_timerdev_burst --prod_type_timerdev - --timer_tick_nsec + --timer_tick_ns --max_tmo_nsec - --expiry_nsec + --expiry_ns --nb_timers --nb_timer_adptrs -- 2.16.2