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;
                }
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to