On Fri, Feb 17, 2017 at 1:23 AM, Eric Dumazet <eric.duma...@gmail.com> wrote: > From: Eric Dumazet <eduma...@google.com> > > 1) In the case where rate == priv->pkt_rate_low == priv->pkt_rate_high, > mlx4_en_auto_moderation() does a divide by zero. > > 2) We want to properly change the moderation parameters if rx_frames > was changed (like in ethtool -C eth0 rx-frames 16) > > Signed-off-by: Eric Dumazet <eduma...@google.com>
Reviewed-by: Saeed Mahameed <sae...@mellanox.com>