From: Amir Vadai Date: Wed, 17 Feb 2016 15:24:22 +0000 (+0200) Subject: net/mlx4_en: Count HW buffer overrun only once X-Git-Tag: v3.2.79~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=850b483c135e2799a7bbe6a8503dca2726558572;p=pandora-kernel.git net/mlx4_en: Count HW buffer overrun only once commit 281e8b2fdf8e4ef366b899453cae50e09b577ada upstream. RdropOvflw counts overrun of HW buffer, therefore should be used for rx_fifo_errors only. Currently RdropOvflw counter is mistakenly also set into rx_missed_errors and rx_over_errors too, which makes the device total dropped packets accounting to show wrong results. Fix that. Use it for rx_fifo_errors only. Fixes: c27a02cd94d6 ('mlx4_en: Add driver for Mellanox ConnectX 10GbE NIC') Signed-off-by: Amir Vadai Signed-off-by: Eugenia Emantayev Signed-off-by: Or Gerlitz Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed