diff options
author | Amir Vadai <amir@vadai.me> | 2016-02-17 17:24:22 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-02-17 10:29:25 -0500 |
commit | 281e8b2fdf8e4ef366b899453cae50e09b577ada (patch) | |
tree | 142a4bff8dc28f47958f32aa904433100a5ba3de /.mailmap | |
parent | aac8d3c282e024c344c5b86dc1eab7af88bb9716 (diff) | |
download | lwn-281e8b2fdf8e4ef366b899453cae50e09b577ada.tar.gz lwn-281e8b2fdf8e4ef366b899453cae50e09b577ada.zip |
net/mlx4_en: Count HW buffer overrun only once
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>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions