diff options
author | Carolina Jubran <cjubran@nvidia.com> | 2024-05-22 22:26:58 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-05-24 13:27:08 +0100 |
commit | 5c74195d5dd977e97556e6fa76909b831c241230 (patch) | |
tree | a497c7221baaf996613dfd0a0f22c2bb4855f138 /drivers/net/sb1000.c | |
parent | f55cd31287e5f77f226c91d2f7756bafa0d583ed (diff) |
net/mlx5e: Use rx_missed_errors instead of rx_dropped for reporting buffer exhaustion
Previously, the driver incorrectly used rx_dropped to report device
buffer exhaustion.
According to the documentation, rx_dropped should not be used to count
packets dropped due to buffer exhaustion, which is the purpose of
rx_missed_errors.
Use rx_missed_errors as intended for counting packets dropped due to
buffer exhaustion.
Fixes: 269e6b3af3bf ("net/mlx5e: Report additional error statistics in get stats ndo")
Signed-off-by: Carolina Jubran <cjubran@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sb1000.c')
0 files changed, 0 insertions, 0 deletions