From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0057.outbound.protection.outlook.com [104.47.41.57]) by dpdk.org (Postfix) with ESMTP id D2FF899D0; Mon, 31 Jul 2017 12:05:54 +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=ZBZjs1+p0RfZlQMdrpkgA5LHHC/osurHkMrwvBFudQw=; b=TzFrkCQeRSwo23dXDVPDAXVTz60oZ9F0egv03OTGxMY9zBYSmDPLd1DLeXY5beaLJ9SdFjmNV7BGkPFVhz41Y+lJCxQU7wgNv4ckg0xcFRhS0c6AjxDxGbqFO8zCrSCB3/fGAMQVzHLpwwn3vOMswutnLzxR9cexe0KMkiQ9KPo= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin.domain.name (111.93.218.67) by BY2PR07MB2437.namprd07.prod.outlook.com (10.166.115.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.1304.22; Mon, 31 Jul 2017 10:05:49 +0000 From: Jerin Jacob To: dev@dpdk.org Cc: thomas@monjalon.net, bruce.richardson@intel.com, harry.van.haaren@intel.com, hemant.agrawal@nxp.com, gage.eads@intel.com, nipun.gupta@nxp.com, gprathyusha@caviumnetworks.com, Jerin Jacob , stable@dpdk.org Date: Mon, 31 Jul 2017 15:34:52 +0530 Message-Id: <20170731100452.12647-2-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.13.3 In-Reply-To: <20170731100452.12647-1-jerin.jacob@caviumnetworks.com> References: <20170731100452.12647-1-jerin.jacob@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: SG2PR03CA0051.apcprd03.prod.outlook.com (10.169.50.19) To BY2PR07MB2437.namprd07.prod.outlook.com (10.166.115.17) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9b9125b2-a712-4055-3225-08d4d7fbba8f X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(300000503095)(300135400095)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:BY2PR07MB2437; X-Microsoft-Exchange-Diagnostics: 1; BY2PR07MB2437; 3:fyGTuOCDGnvUJyO6xZXb9pKUem8h+x9nEnyHXQd0mEY/3KLc18tuagniDyYLZlwXbFsVsZ2aKASHsqeOSwHHj3ldP2m6F91ILTzeM0fRTyCyccLw1/yp6pSVWZZcRgVdIXTSnTUyduTtGn1HqGjOjtwtkF7p00pR2nS30C58rjtvquvEv+g4BCnYtcIX88MwcEisYboD5njPxATZCG2NQlFk6YxV5dAHbFfSOMhD84cw+E1/mX51mRgGMD8b7bEXdwwtqVmFe5fKcAa71jgHwxi0QyvBeDdpbmxwIbIRA+xDr5lG9h7vZttrc8noS6jzNhFX4LDa9gLPOUqYRcs6EHOgqhPEIPZktdLwOvLFSsKg0ojkg+973Zu2CfB1qusjVIe/CmUNgydfEFe3ip+sNIuhToIoKbuFZMY8GWOwLpnJXFcGdqG1CE3uhXX5fxSRARN8Cy3bmp9TcpksH+p0QTqTGjog+HMSALvYeYqV6nrIG/OwB+glUlo34n95xCZjWQLtL7oVertOjneuh+967ANFlBhTUzRbyEVIAvprGjeyEMwhY3z+ao5QFeclbTjdE0wlpjPcQzwx6805XXLwuTcvYCgWCQaawea/a+zWsb8QJ8d5R+Kbj7EhWRZjCs5+yohvR6CI8FLRoFUHeifJkA51U9niWAMrUhPsTorEAb0Ja8k8XYLixbzjxEaQ5nbgquXe4T1WLv6aH++HXlAHkDtj49Ny0795YynX62kqRh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0DZsUlk3KebqlsjggLdrOqzoKgGdS9Rn6VX6pDbzB9zl638G17Jtn9g9ExwRYY1f3vb+W5MJl98qIOJn/b8kr1Hg9u1lrXwYgKsMt/giKFZlv8pRCVumXE+LJtPMa1sq8Faytja/UXGhERuq0zdljJIa7Oit+96rQ8ZfEmeOsqhhWtMOFrJkrNSZmzRsTRAtdhz4BXFnTsCMorhsOV8h/wN65eIqebfTAjwWmjAbm/CKCedpqAlMHNEKvmwlfOVIpWC7ytNiPGbpd0PMFZuvuujuIkpRWVcN5w95j0Wi+ZKp0kBQ6pQZg9sHH+lYVBbFB5X4eDFVUWQsboMdkMMkMoEw+uGCBCdFOOPURi9eZvDINuAkkKp1EFtNENgQxUieFir5o6CKdO/wc= X-Exchange-Antispam-Report-Test: UriScan:; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(100000703101)(100105400095)(10201501046)(3002001)(93006095)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123555025)(20161123562025)(20161123560025)(20161123564025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BY2PR07MB2437; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BY2PR07MB2437; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR07MB2437; 4:Ts6IoHpSeghtyTo73VqFfkHxMy6hpBnhaAsSfKETVN?= =?us-ascii?Q?VDxFeCg1xb1At+PuVVC9sCNX8ecMKyT+s3MARQO/7ZPE+3NIEf6vFWM0Vnc5?= =?us-ascii?Q?gvwQp9F2z5ZQefFQ90jG2A3sT8W+0ipXq1czSzL2j1rmdWmRAvBp8DTPXPbV?= =?us-ascii?Q?xULVxAcSyJ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=?us-ascii?Q?LrT6CnG1iHt2tBK1ljxt7wVQB2URzG4i88pmbm4TuegrltKYDvW1C/NGbBeE?= =?us-ascii?Q?Hnoxr5Cr8=3D?= X-Forefront-PRVS: 03853D523D X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(7370300001)(4630300001)(6009001)(39450400003)(39410400002)(39840400002)(39850400002)(39400400002)(199003)(189002)(81156014)(66066001)(478600001)(81166006)(6666003)(2906002)(25786009)(50226002)(2351001)(48376002)(6506006)(6486002)(47776003)(7736002)(5003940100001)(42882006)(189998001)(6916009)(2950100002)(69596002)(50466002)(68736007)(8676002)(305945005)(50986999)(76176999)(97736004)(3846002)(5009440100003)(4326008)(1076002)(6116002)(72206003)(5660300001)(36756003)(6512007)(106356001)(101416001)(105586002)(2361001)(33646002)(42186005)(38730400002)(7350300001)(53416004)(110136004)(8656003)(53936002); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR07MB2437; H:jerin.domain.name; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR07MB2437; 23:yDRf88CYb1MYOalBn1r0zJG7q8zEPR8WSUtXfaqDQ?= =?us-ascii?Q?23ZEWywag1YAjvCVRiuiGHaAL+/JqCUFtnzqKIy4yyX4y/CPSVxxR2PAbNuU?= =?us-ascii?Q?6qxOW9ij0v9GMYea7m5SzIvGcr2sbV16cbGtY1uzkju5k2gU5obovEOF3U+q?= =?us-ascii?Q?FwSmBvW+0vTczETOqXLlht2FMwWz4/djrq/Law1eex/ShRWJ/R3ka4Mr4xcx?= =?us-ascii?Q?Bw9sBC2mlZ52cVkRhQhi857OTYw79IgYeJ/SgRARRa93fgD9pHRpXwmtb7cx?= =?us-ascii?Q?ZKcnV9Bq0n/lTAJjAlXX+hs3fXzXY4JP1p47flewgbzTtoBJt9g3Uxbm/5W4?= =?us-ascii?Q?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GHq73IB80?= =?us-ascii?Q?PZ82Ti34RaVpztdMWs10CiFGlq9xTiHriWB48OB1kKa8BCXVbfjrd9u9EVzO?= =?us-ascii?Q?zBmFjqaKfHa8LNpqha8bPI12/1YGpm/3x18+IOP3YMAVB4vhnDk40Nn2NQkq?= =?us-ascii?Q?B6b7X4wRZ4W+MyqxDuZBfDKYUNabKlTKOMwXis3wKBrYF78YfhSUq2r/1q/1?= =?us-ascii?Q?/ZGh/9btw=3D=3D?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR07MB2437; 6:2bV78uqZtzIEbdtEzVvLK8/mWbcmgCcnOWNz+yiAa2?= =?us-ascii?Q?A7ur1Xvae0vFp3Niy6cr/vCgtU6tvAS8i/IRUj6CG5MzZn2WgBAkigR9RWjO?= =?us-ascii?Q?867HeJ4iI6rNF5PRajU1w0Styn/MMrHKOVQjjduxaPcfoRJAnGknjyF6PwjQ?= =?us-ascii?Q?lxUZf61VmKL83dAFSUoHkV9Z/lYvBLu8sCzHdlyoD5M0QPZ0Qp13KudEdZlI?= =?us-ascii?Q?HDgA9rN3EYihHO166AUVK4Z7T1sQLwZeFd96CQD46DV7ERpZVRVNOXYAWuRO?= =?us-ascii?Q?l/im4KTcBIO1MprydOaKp1V4b2rzVo1qWf7HKrrcw0q/0zXV7VNsv+m7IChJ?= =?us-ascii?Q?sEMWUmgNB01fRNNmRvc3rKT38OeX85Lnos9U8gtXJzLAkOhsGGO1RRSd7+c/?= =?us-ascii?Q?26ECbs5JtiBsIv6MyFYccZ9JZ+z5ihNfjhvLIClTxCznwjJgHcFiOVwPtWgJ?= =?us-ascii?Q?+85g0bqFu217FTkv8QumDtyyDKceZbEuSyn4wixMjUOEgsMiicQM1fOfrSzi?= =?us-ascii?Q?5cQgNs2Ecby9TD78SS0mAg/08AzlTOv1tDLQUEJX4OafNTwqHOHpcmoILGfb?= =?us-ascii?Q?DlZHo4pirUxar/rBW6OBzogSRUzewqp4KeWcnkKRgjY0cYxk/SD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6Bxkb9jTCIxnb3Wbqj3q3DPS8tzWJ7pB53GwnP91z+w+lbmuf5M= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY2PR07MB2437; 7:nkxsnwgOYjsv/b62rXA2IDBKfsOuLynybfg5lv2+Sy4gV31+roL4FGSbHqjW+DEKiiM5u2KkjNSpeab+CnsEgi/cWHR0Apt1FQ95MJEhg0johp9U76tc0zCWOXS8jKwqZnxTZAOt1D7Cseq8pDll1H8UZNM6Az57BztHlQyLDx/ZOU7vlA0TyAWO/FBQgkeWyVDmWjd7qMc/Hz7aU1jnyfP1JAkxx8Gg+sh2+vUtXHbJGUAH2vY0Ra+DM1d6yuo4WVQZISdEAjyBbDZwSJYHQV/bIN3virP6Sn3AcjdqF1/H89aTWlvcVMqzosVYaVqvz3rbfW5HgNiQqIN7OysRs20QR+kYFgVa73Va+z30S9kpCtK2VKeymzuqnlxirR7bw8IzIdDvYBP5EBR9V5nxGzBUqeXAJ1wUQa1FM7tTCjJk9VJSEci2rXBEj/6a5fOFKrBwgxR2FISWOC1MCBRLzkFvkqKPPIKip2Ye7tEYjmokgAU3mho/jM54VutdcZeWNAwe+ZvBr6w3mU8vuOQW8TZtlKSbEApP+H13rIM75zb1nqg+7r/63Jp07X0FE10d1K+/0ebrEHFeQ1+EF9UvMGAmGnQRv3DT1GCoG/Y9uxznSCE/cJGvZkgUHT7RgW91JfTVjYHf9QKho8GItL98hQwFz+g0Yofgh+04RCvgUeAzyd48ARTB7BJAHmRgoX8KJVo+wJVu5QFTrZzxsHeMDSd8XdawThlYROOmyGiXEjGLsZuisKXyLCvo7b/AsyiKPn901QVlV3ZPR6DqJmD3W4l13XkEY7Bk1QZ6bifKZuA= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jul 2017 10:05:49.5603 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR07MB2437 Subject: [dpdk-stable] [dpdk-dev] [PATCH 2/2] app/testeventdev: fix a divide by zero case X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Jul 2017 10:05:55 -0000 pkts == 0 will result in divide by zero case. Added a check to fix it. Coverity issue: 158652 Fixes: 9d3aeb185eb4 ("app/testeventdev: launch perf lcores") Cc: stable@dpdk.org Signed-off-by: Jerin Jacob --- app/test-eventdev/test_perf_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test-eventdev/test_perf_common.c b/app/test-eventdev/test_perf_common.c index a5b768c68..7b0929941 100644 --- a/app/test-eventdev/test_perf_common.c +++ b/app/test-eventdev/test_perf_common.c @@ -203,7 +203,7 @@ perf_launch_lcores(struct evt_test *test, struct evt_options *opt, perf_cycles = new_cycles; total_mpps += mpps; ++samples; - if (opt->fwd_latency) { + if (opt->fwd_latency && pkts > 0) { printf(CLGRN"\r%.3f mpps avg %.3f mpps [avg fwd latency %.3f us] "CLNRM, mpps, total_mpps/samples, (float)(latency/pkts)/freq_mhz); -- 2.13.3