Re: [PATCH net V2] net/mlx5e: Fix fixpoint divide exception in mlx5e_am_stats_compare

2018-01-21 Thread David Miller
From: Saeed Mahameed Date: Sun, 21 Jan 2018 05:30:42 +0200 > From: Talat Batheesh > > Helmut reported a bug about division by zero while > running traffic and doing physical cable pull test. > > When the cable unplugged the ppms become zero, so when > dividing the current ppms by the previous

[PATCH net V2] net/mlx5e: Fix fixpoint divide exception in mlx5e_am_stats_compare

2018-01-20 Thread Saeed Mahameed
From: Talat Batheesh Helmut reported a bug about division by zero while running traffic and doing physical cable pull test. When the cable unplugged the ppms become zero, so when dividing the current ppms by the previous ppms in the next dim iteration there is division by zero. This patch preve