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

2018-01-20 Thread Saeed Mahameed
On 01/20/2018 12:10 AM, Sergei Shtylyov wrote: > Hello! > > On 1/19/2018 11:10 PM, Saeed Mahameed wrote: > >> From: Talat Batheesh >> >> Helmut reported a bug about devision by zero while > >    Division. > >> running traffic and doing physical cable pull test. >> >> When the cable unplugged

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

2018-01-20 Thread Sergei Shtylyov
Hello! On 1/19/2018 11:10 PM, Saeed Mahameed wrote: From: Talat Batheesh Helmut reported a bug about devision by zero while Division. 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 pp

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

2018-01-19 Thread Saeed Mahameed
From: Talat Batheesh Helmut reported a bug about devision 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 devision by zero. This patch preve