Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Apr 2020 09:08:47 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r359858 - stable/12/sys/dev/mlx5/mlx5_en
Message-ID:  <202004130908.03D98lAI002634@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Mon Apr 13 09:08:47 2020
New Revision: 359858
URL: https://svnweb.freebsd.org/changeset/base/359858

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

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

Modified: stable/12/sys/dev/mlx5/mlx5_en/mlx5_en_main.c
==============================================================================
--- stable/12/sys/dev/mlx5/mlx5_en/mlx5_en_main.c	Mon Apr 13 09:05:21 2020	(r359857)
+++ stable/12/sys/dev/mlx5/mlx5_en/mlx5_en_main.c	Mon Apr 13 09:08:47 2020	(r359858)
@@ -898,6 +898,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;
 		}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202004130908.03D98lAI002634>