summaryrefslogtreecommitdiffstats
path: root/include/linux/mlx5/device.h
diff options
context:
space:
mode:
authorGal Pressman2016-04-24 21:51:50 +0200
committerDavid S. Miller2016-04-26 21:58:01 +0200
commit121fcdc84d8240d4dfe1f737befd5814b12623ee (patch)
treee970baa71ac12712318198a881317a2702875977 /include/linux/mlx5/device.h
parentnet/mlx5e: Add per priority group to PPort counters (diff)
downloadkernel-qcow2-linux-121fcdc84d8240d4dfe1f737befd5814b12623ee.tar.gz
kernel-qcow2-linux-121fcdc84d8240d4dfe1f737befd5814b12623ee.tar.xz
kernel-qcow2-linux-121fcdc84d8240d4dfe1f737befd5814b12623ee.zip
net/mlx5e: Add link down events counter
Expose link_down_events counter through ethtool -S. This counter is read from PPort statistics, then proccessed and stored as a special handling software counter. This counter is stored along software counters since it is the only PPort counter that it's size is not 64 bits. Signed-off-by: Gal Pressman <galp@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/mlx5/device.h')
-rw-r--r--include/linux/mlx5/device.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mlx5/device.h b/include/linux/mlx5/device.h
index 8be44ca777ed..942bccacd7b7 100644
--- a/include/linux/mlx5/device.h
+++ b/include/linux/mlx5/device.h
@@ -1369,6 +1369,7 @@ enum {
MLX5_ETHERNET_EXTENDED_COUNTERS_GROUP = 0x5,
MLX5_PER_PRIORITY_COUNTERS_GROUP = 0x10,
MLX5_PER_TRAFFIC_CLASS_COUNTERS_GROUP = 0x11,
+ MLX5_PHYSICAL_LAYER_COUNTERS_GROUP = 0x12,
MLX5_INFINIBAND_PORT_COUNTERS_GROUP = 0x20,
};