Author: hselasky
Date: Mon Apr 13 09:09:28 2020
New Revision: 359859
URL: https://svnweb.freebsd.org/changeset/base/359859

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

Modified:
  stable/11/sys/dev/mlx5/mlx5_en/mlx5_en_main.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/dev/mlx5/mlx5_en/mlx5_en_main.c
==============================================================================
--- stable/11/sys/dev/mlx5/mlx5_en/mlx5_en_main.c       Mon Apr 13 09:08:47 
2020        (r359858)
+++ stable/11/sys/dev/mlx5/mlx5_en/mlx5_en_main.c       Mon Apr 13 09:09:28 
2020        (r359859)
@@ -890,6 +890,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;
                }
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to