[PATCH v3 1/1] app/test-flow-perf: fix division or module by zero

Wisam Monther wisamm at nvidia.com
Mon Feb 20 13:46:01 CET 2023


Hi,


> -----Original Message-----
> From: Mohammad Iqbal Ahmad <mahmad at marvell.com>
> Sent: Tuesday, January 24, 2023 12:38 PM
> To: dev at dpdk.org; NBU-Contact-Thomas Monjalon (EXTERNAL)
> <thomas at monjalon.net>; Wisam Monther <wisamm at nvidia.com>; Jack
> Min <jackmin at nvidia.com>
> Cc: jerinj at marvell.com; skori at marvell.com; skoteshwar at marvell.com;
> pbhagavatula at marvell.com; kirankumark at marvell.com;
> psatheesh at marvell.com; asekhar at marvell.com; anoobj at marvell.com;
> gakhil at marvell.com; hkalra at marvell.com; ndabilpuram at marvell.com;
> Mohammad Iqbal Ahmad <mahmad at marvell.com>
> Subject: [PATCH v3 1/1] app/test-flow-perf: fix division or module by zero
> 
> Fix division or module by zero reported by coverity scan.
> Updated .mailmap
> 
> Coverity issue: 373870
> Fixes: bf3688f1e816 ("app/flow-perf: add insertion rate calculation")
> 
> Signed-off-by: Mohammad Iqbal Ahmad <mahmad at marvell.com>
> ---
>  .mailmap                  | 1 +
>  app/test-flow-perf/main.c | 7 ++++++-
>  2 files changed, 7 insertions(+), 1 deletion(-)
> 
> diff --git a/.mailmap b/.mailmap
> index a153c9ab93..ec9f419f53 100644
> --- a/.mailmap
> +++ b/.mailmap
> @@ -912,6 +912,7 @@ Mitch Williams <mitch.a.williams at intel.com>  Mit
> Matelske <mit at pt.net>  Mohamad Noor Alim Hussin
> <mohamad.noor.alim.hussin at intel.com>
>  Mohammad Abdul Awal <mohammad.abdul.awal at intel.com>
> +Mohammad Iqbal Ahmad <mahmad at marvell.com>

Why you added such change in flow-perf related patch?

>  Mohammed Gamal <mgamal at redhat.com>
>  Mohsin Kazmi <mohsin.kazmi14 at gmail.com>  Mohsin Mazhar Shaikh
> <mohsinmazhar_shaikh at trendmicro.com>
> diff --git a/app/test-flow-perf/main.c b/app/test-flow-perf/main.c index
> 4a9206803a..0a542b0d87 100644
> --- a/app/test-flow-perf/main.c
> +++ b/app/test-flow-perf/main.c

BRs,
Wisam Jaddo


More information about the dev mailing list