From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0075.outbound.protection.outlook.com [104.47.32.75]) by dpdk.org (Postfix) with ESMTP id 1D7082C01 for ; Mon, 16 Apr 2018 12:46:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=Qvn8ASN9tzJhwg5WUUkg9avVfovFgx1JGIerAZ67/Qc=; b=WMnknjRmx1YIPopk6DTsKwwrJCsPh9aaLKBttkb8XnZZOyyxC/Yb1ezdtd4hAXgtGrxnRgSPgKOodwa/IX0e7fgCh5ZmtsV+4U/7iCqwo4hMiSOV5s8v/KR4u6hQM4Wv5zqTh74lCqBteAjVU6s6zOqmZQ20D2jKpf/gTaIuJDg= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Pavan.Bhagavatula@cavium.com; Received: from ltp-pvn.caveonetworks.com (111.93.218.67) by DM5PR07MB3468.namprd07.prod.outlook.com (2603:10b6:4:67::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.675.14; Mon, 16 Apr 2018 10:46:48 +0000 From: Pavan Nikhilesh To: thomas@monjalon.net, jerin.jacob@caviumnetworks.com Cc: dev@dpdk.org, Pavan Nikhilesh Date: Mon, 16 Apr 2018 16:16:31 +0530 Message-Id: <20180416104631.17940-1-pbhagavatula@caviumnetworks.com> X-Mailer: git-send-email 2.17.0 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: CO2PR04CA0101.namprd04.prod.outlook.com (2603:10b6:104:6::27) To DM5PR07MB3468.namprd07.prod.outlook.com (2603:10b6:4:67::23) X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(2017052603328)(7153060)(7193020); SRVR:DM5PR07MB3468; X-Microsoft-Exchange-Diagnostics: 1; DM5PR07MB3468; 3:2esXUTYou5spI5jtuZlIlDnlkq8/mUA/gpfyLDST/A/W1EMRT/eWfkMJ6ylBBANvzhWvV2PbkfHxSziYAJ5ASND5sAxDnw0Z9WBsIVsR8TUVCkDuE2r4oZi2HcOutSiFSwtRb+XmiNgALFAQGMKbqKSEb+XqKhwUwrTRVpsv9OhRn0LuwpHziXBJau9itocfzib85arBBCQf16FH6CWRhYQvYyb2jo6JtHRQAw8fjnQcwslBOYpe0K0/3DmrjqUx; 25:mbMXKJdR2ApzP6tnqTjC8MR63svDGFqxQy/E70Z7+ODYp1BbN9Mc/oX9QgNINLri7CxxBmKIee39+gDRSa6Sfo1U4qbFHp4VOdcyKn+zuGYxpjMSeILfhtI7n6sTDCapmrrtLlLf+Y6lLJpNhLXAGMKkzPKJSL02TK9CU9pTtRSg/us8e3DxFU66rxp75SqbYPzmUzk7ZmIXM2NvCSFmOd3GCQsRUQZNBuDj5e3gT8+p7FB28Zos21+EwdcJ7brPY3IWZJxuH/YYRPFL9fGS1RauH6TZmSD6tu8noIM5jkis40fMrEAhQc6hVdyVINE/BL6/06L1XjH7/SInQqFaNQ==; 31:YL2Ax/1i3l3gZuWcVXwXXq8595pWm918uCDETsDZxS7TQTRoqxN/LaD7c/pBOmY0s+yXvNg/evbYhicxdBYytpeKogInS8r3nBK+z82QfeBYO01bwC+j1+cPQw+o/vl78kvD3vOh+/1dii0JV+DRbSGC734cbzbQv2Q+ehM+72G7sVHfms0xE88N6MU6oo5fJF1G+OxuJl/L8MR/sbfbzGFiFVKdel7GHsc97Fv8yFQ= X-MS-TrafficTypeDiagnostic: DM5PR07MB3468: X-Microsoft-Exchange-Diagnostics: 1; DM5PR07MB3468; 20:7JCDf3EfRxyuZEe7ESYpAA77WtTSRxbNw2mxZBKY10bKi59uQctZVP3+NEVBaMWUjXi78efpekSd0Xpq/u557tiWaixM2dULRAjwsv4loJ5yFw+VifStEroRW1yH3h/9PYgY40u3QuximB584R07nMqwIx55DyrZAgN84saZIOsKiokWfE/OF+RGzLZq5+eExXkbay4esArXsm4H26Hyvtu/KBDwChKpngUSaMjsGEcpH9YAEnVmPD+CkrjGJMA95Mrw606nFcjT4Va8Q3reR8zKOp3+WKcckG2OtnZSO4P2/ltOWKBzCrbjmcN4/Fpw6x3ZW5d3d1LFZoDF4v1Q4eMsWUr7B8jIvSiX77yIYKNfS48v0hD8i3L5h9fN8/stiOhjPmCTIMeAusdmSOc2BOxaHvXDe6Tjlu+waDVcK1otdOa5gZSXtbyr8FW8dG9Ik/Fxa9X0IISDGv3QQeV303R0ycMV8B43qhx29YpSd4xV6lEt1pNdVadvTEBb0Ewzq6ygaeuTGS2DQATBKq4lLC4ku570HOKe+Ptn2pLEUhoBQ5ti+bRtuOAX1htNJUlTmuE6KvF52SLi9Pa1mRN1mD8DLE/PiThwVArCKAJFX6E=; 4:cC4gzK33jm3FqyQk46xePXBW4q6crsDpYoiu2ggRml3TrUwYSeZirdOieqiP89rwOAWy1C7GgLB2Z5d5X+CPgV7k8gjruzOJS72qZi0/HMhI0i861iVUWtua9JsNrltrfOgl0bnPbAJniRpLrDUL05Pl7SQPFW025Ml0L8boiNJ5eUDjOHSJpYZ8Zc04uzeo6mA2y7KQJtooZsMwwbOOeq3MfFzAsz5W4QnOTQvet6w19RhYLJWGqt0T+WninmKi6rcoosKiMP7FeqrAMhcbkA== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231232)(944501327)(52105095)(10201501046)(3002001)(93006095)(6041310)(20161123558120)(20161123562045)(20161123560045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:DM5PR07MB3468; BCL:0; PCL:0; RULEID:; SRVR:DM5PR07MB3468; X-Forefront-PRVS: 0644578634 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(979002)(39850400004)(39380400002)(376002)(396003)(346002)(366004)(189003)(199004)(386003)(6506007)(6116002)(6666003)(3846002)(68736007)(106356001)(316002)(72206003)(66066001)(16586007)(50466002)(575784001)(956004)(47776003)(5009440100003)(69596002)(478600001)(1076002)(2616005)(476003)(486006)(2906002)(5660300001)(51416003)(52116002)(36756003)(50226002)(186003)(1857600001)(16526019)(48376002)(53416004)(7736002)(42882007)(105586002)(305945005)(4326008)(81166006)(81156014)(25786009)(6512007)(53936002)(107886003)(8676002)(6636002)(26005)(97736004)(6486002)(8936002)(42262002)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR07MB3468; H:ltp-pvn.caveonetworks.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM5PR07MB3468; 23:QM5NM0jfjoQVPnyvvAeWCjGSJVSRaLWgD6QfRk606?= =?us-ascii?Q?IlEjWv+2/jHMCXC9ZP7gdtXCx06/L9YdLtiV2Yjc87BCRJ5LEP9NMY8WJGWC?= =?us-ascii?Q?51WXYvHiLJal3WSYMbWO806A3HilZnie3UIcfDwA8aKcrJnJX2vNc/swumf6?= =?us-ascii?Q?o72cfpsHVb16UW/ZhuelZ2dz059nV4Bj9uBNFInFmX1sBcpXRUb+CKrw+Xgd?= =?us-ascii?Q?ODmdUDlTtoti49Z7ooNJrxmmAILN+1QYa5wu1vrDm+jXJ1BzHKkq+uJGAF8U?= =?us-ascii?Q?/Qa165LEqHrdfIQ+ZZoTcAHxv1nzGTdUIkOB2XdeTUTOs5QTGV823UHymsWU?= =?us-ascii?Q?vUFBcfEyZtBopfdEXGbCf376DICWYzpf/YXZc7ix7oOcXno8w6nE0whJcwJ/?= =?us-ascii?Q?eZj3EytiTcET68qoTACDxWNSSmTSHs+xKo9u0FsXpdWX7Cs70K92jnl8qwQT?= =?us-ascii?Q?oKXNH8+Tu7w1ur+wGhocU5+HTkyurEd0ux4VpktJ11kBNEs464kp8RygtCXQ?= =?us-ascii?Q?STTMBkwhMddZm1G79Rk68Jmav4aHYS5Orlmdp9W7rYrKJkVeLvsOeqHrNABm?= =?us-ascii?Q?ZyVZA265oxoMf6yT2V9Iq/r6sQRwJfTGmy6zxCajYOCyNSgY/vW90H3opKn1?= =?us-ascii?Q?1FtYgYXu9LyYt2OI7f4Ty6eLSAjFGEQPt7P2Fb7K+9j6cjdilFz5K1NdrSW8?= =?us-ascii?Q?/j9UqS95VXNKyNzgu65WYSka4yad1RwMq1uusw7Usafg4FDFVuXKqweo0872?= =?us-ascii?Q?XvjukGYveQew9ej6mHsZ32InhbsP81qqotEzX+/ZKqI+Bj8Xxp+SdIxYNYYv?= =?us-ascii?Q?bQk6WFYX/pezVKMgPLG0KnJtMaZJfi3QHTvF/yCgQFSFmyhDJ/swza3dxpWi?= =?us-ascii?Q?0YToWoTKbeJKYdUTzliYKQWvnv+QNwbwn9BuA2dB2hJSS6u7mar70mWuOWUD?= =?us-ascii?Q?V+we2nAbCrGfu+u9agMshFgocM44/kq7arluxmDD3o1gi0e21qoy3guR136y?= =?us-ascii?Q?QgD9xCCL1VMvQ4WlqVDVkQe+0bPk9/72FwTNdzEvguNmw5tYuBUQAmR4KWzZ?= =?us-ascii?Q?AJd575wFDRMj5nRx7JibxTV1k7zaupIHCDGQ/aCriHoBn+FrpKDnb/q/1WuK?= =?us-ascii?Q?SzOb2PmSUgsd8w3JVHiPpu7NDLIq4Qzgkl30w6tpfWbPonljVmbmfwZ20eMY?= =?us-ascii?Q?fCyGu+qa7ejhmlwazlGoPh5/Gej951oK586RnXUPnWePVm+yBxA/z6AvuKbo?= =?us-ascii?Q?8cqIiVhMYo1AUcvDDHLGIJK2gBwlxpGmiBampNM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3aI8KrgYl7/25C5iteqUys=; 24:djIr94AaWPd3NiPYvht3Jn+dL+hag2sN1ilXsBiARs5tc3q5GwSsL+EQQqatipmP/SBjtRfhjguZtEcfp8ANwdNgZ1l2oPxcdAs2Ctzm4lg= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM5PR07MB3468; 7:PkzrL4gvrRGBDLQLsU78Z0682G3OTndAaQWEmUpVOGYLBatEqhbc2nyOa/QvaZBk7UYVnazZJ0M/Vxi8GiKvK9KxJqa+mndNpLMp56AI03eKCyRVMMeilmYaFffERf+VtELnbyHXENfs/wgI/KfwGIVS6wDcq/gWG6ve0erFoduSeHmeVGfcf7uAhQvuH07sgDyrt6SYyRwJ/TNrvpil2FVTT/bbXe1M/kNDefvClJEewrP8Wm/x+9kv6Rkp1Xqu X-MS-Office365-Filtering-Correlation-Id: cad731c3-880c-4b67-2ab9-08d5a3875be8 X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Apr 2018 10:46:48.5737 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: cad731c3-880c-4b67-2ab9-08d5a3875be8 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR07MB3468 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:46:52 -0000 The options names in code and doc are not the same. Fixes: 98c6292105d4 ("app/eventdev: add options for event timer adapter") Suggested-by: Thomas Monjalon Signed-off-by: Pavan Nikhilesh --- app/test-eventdev/evt_options.c | 2 +- app/test-eventdev/evt_options.h | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/test-eventdev/evt_options.c b/app/test-eventdev/evt_options.c index 5f311a570..cfa43a165 100644 --- a/app/test-eventdev/evt_options.c +++ b/app/test-eventdev/evt_options.c @@ -250,7 +250,7 @@ usage(char *program) "\t--nb_timer_adptrs : number of timer adapters to use.\n" "\t--timer_tick_nsec : timer tick interval in ns.\n" "\t--max_tmo_nsec : max timeout interval in ns.\n" - "\t--expiry_ns : event timer expiry ns.\n" + "\t--expiry_nsec : event timer expiry ns.\n" ); printf("available tests:\n"); evt_test_dump_names(); diff --git a/app/test-eventdev/evt_options.h b/app/test-eventdev/evt_options.h index c059f7084..1bc7ea0f6 100644 --- a/app/test-eventdev/evt_options.h +++ b/app/test-eventdev/evt_options.h @@ -36,9 +36,9 @@ #define EVT_PROD_TIMERDEV_BURST ("prod_type_timerdev_burst") #define EVT_NB_TIMERS ("nb_timers") #define EVT_NB_TIMER_ADPTRS ("nb_timer_adptrs") -#define EVT_TIMER_TICK_NSEC ("timer_tick_ns") +#define EVT_TIMER_TICK_NSEC ("timer_tick_nsec") #define EVT_MAX_TMO_NSEC ("max_tmo_nsec") -#define EVT_EXPIRY_NSEC ("expiry_ns") +#define EVT_EXPIRY_NSEC ("expiry_nsec") #define EVT_HELP ("help") enum evt_prod_type { @@ -292,10 +292,10 @@ evt_dump_producer_type(struct evt_options *opt) evt_dump("max_tmo_nsec", "%"PRIu64"", opt->max_tmo_nsec); evt_dump("expiry_nsec", "%"PRIu64"", opt->expiry_nsec); if (opt->optm_timer_tick_nsec) - evt_dump("optm_timer_tick_ns", "%"PRIu64"", + evt_dump("optm_timer_tick_nsec", "%"PRIu64"", opt->optm_timer_tick_nsec); else - evt_dump("timer_tick_ns", "%"PRIu64"", + evt_dump("timer_tick_nsec", "%"PRIu64"", opt->timer_tick_nsec); break; } -- 2.17.0