summaryrefslogtreecommitdiff
path: root/fs/jbd/commit.c
diff options
context:
space:
mode:
authorAmir Vadai <amir@vadai.me>2016-02-17 17:24:22 +0200
committerSasha Levin <sasha.levin@oracle.com>2016-03-04 10:25:50 -0500
commit7a9a967fa8bd958586896bb89f5d44ebbbbeaec3 (patch)
tree6491b291da9596e8e51549014a76e3c3be345876 /fs/jbd/commit.c
parentce643bc32f94c94d5d018c116ed0138ec19bfb4a (diff)
net/mlx4_en: Count HW buffer overrun only once
[ Upstream commit 281e8b2fdf8e4ef366b899453cae50e09b577ada ] 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 <amir@vadai.me> Signed-off-by: Eugenia Emantayev <eugenia@mellanox.com> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions