Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Oct 2019 09:00:08 +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-11@freebsd.org
Subject:   svn commit: r353204 - stable/11/sys/dev/mlx5/mlx5_en
Message-ID:  <201910070900.x97908w9067176@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Mon Oct  7 09:00:08 2019
New Revision: 353204
URL: https://svnweb.freebsd.org/changeset/base/353204

Log:
  MFC r352965:
  Correct and update some counter names in mlx5en(4).
  
  Sponsored by:	Mellanox Technologies

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

Modified: stable/11/sys/dev/mlx5/mlx5_en/en.h
==============================================================================
--- stable/11/sys/dev/mlx5/mlx5_en/en.h	Mon Oct  7 08:59:09 2019	(r353203)
+++ stable/11/sys/dev/mlx5/mlx5_en/en.h	Mon Oct  7 09:00:08 2019	(r353204)
@@ -254,7 +254,7 @@ struct mlx5e_vport_stats {
   m(+1, u64, out_broadcast_pkts, "out_broadcast_pkts", "Out broadcast packets")
 
 #define	MLX5E_PPORT_ETHERNET_EXTENDED_STATS_DEBUG(m)				\
-  m(+1, u64, port_transmit_wait_high, "port_transmit_wait_high", "Port transmit wait high") \
+  m(+1, u64, port_transmit_wait, "port_transmit_wait", "Port transmit wait") \
   m(+1, u64, ecn_marked, "ecn_marked", "ECN marked")			\
   m(+1, u64, no_buffer_discard_mc, "no_buffer_discard_mc", "No buffer discard mc") \
   m(+1, u64, rx_ebp, "rx_ebp", "RX EBP")					\
@@ -338,14 +338,14 @@ struct mlx5e_vport_stats {
 /* Per priority statistics for PFC */
 #define	MLX5E_PPORT_PER_PRIO_STATS_SUB(m,n,p)			\
   m(n, p, +1, u64, rx_octets, "rx_octets", "Received octets")		\
-  m(n, p, +1, u64, reserved_0, "reserved_0", "Reserved")		\
-  m(n, p, +1, u64, reserved_1, "reserved_1", "Reserved")		\
-  m(n, p, +1, u64, reserved_2, "reserved_2", "Reserved")		\
+  m(n, p, +1, u64, rx_uc_frames, "rx_uc_frames", "Received unicast frames") \
+  m(n, p, +1, u64, rx_mc_frames, "rx_mc_frames", "Received multicast frames") \
+  m(n, p, +1, u64, rx_bc_frames, "rx_bc_frames", "Received broadcast frames") \
   m(n, p, +1, u64, rx_frames, "rx_frames", "Received frames")		\
   m(n, p, +1, u64, tx_octets, "tx_octets", "Transmitted octets")	\
-  m(n, p, +1, u64, reserved_3, "reserved_3", "Reserved")		\
-  m(n, p, +1, u64, reserved_4, "reserved_4", "Reserved")		\
-  m(n, p, +1, u64, reserved_5, "reserved_5", "Reserved")		\
+  m(n, p, +1, u64, tx_uc_frames, "tx_uc_frames", "Transmitted unicast frames") \
+  m(n, p, +1, u64, tx_mc_frames, "tx_mc_frames", "Transmitted multicast frames") \
+  m(n, p, +1, u64, tx_bc_frames, "tx_bc_frames", "Transmitted broadcast frames") \
   m(n, p, +1, u64, tx_frames, "tx_frames", "Transmitted frames")	\
   m(n, p, +1, u64, rx_pause, "rx_pause", "Received pause frames")	\
   m(n, p, +1, u64, rx_pause_duration, "rx_pause_duration",		\



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