svn commit: r359724 - head/sys/dev/mlx5/mlx5_en

Hans Petter Selasky hselasky at FreeBSD.org
Wed Apr 8 08:56:28 UTC 2020


Author: hselasky
Date: Wed Apr  8 08:56:27 2020
New Revision: 359724
URL: https://svnweb.freebsd.org/changeset/base/359724

Log:
  Account out of buffer as dropped packets in mlx5en(4).
  
  MFC after:	1 week
  Sponsored by:	Mellanox Technologies

Modified:
  head/sys/dev/mlx5/mlx5_en/mlx5_en_main.c

Modified: head/sys/dev/mlx5/mlx5_en/mlx5_en_main.c
==============================================================================
--- head/sys/dev/mlx5/mlx5_en/mlx5_en_main.c	Wed Apr  8 08:53:31 2020	(r359723)
+++ head/sys/dev/mlx5/mlx5_en/mlx5_en_main.c	Wed Apr  8 08:56:27 2020	(r359724)
@@ -905,6 +905,7 @@ mlx5e_update_stats_locked(struct mlx5e_priv *priv)
 			tso_packets += sq_stats->tso_packets;
 			tso_bytes += sq_stats->tso_bytes;
 			tx_queue_dropped += sq_stats->dropped;
+			tx_queue_dropped += sq_stats->enobuf;
 			tx_defragged += sq_stats->defragged;
 			tx_offload_none += sq_stats->csum_offload_none;
 		}


More information about the svn-src-all mailing list