summaryrefslogtreecommitdiffstats
path: root/include/linux/mlx5/driver.h
diff options
context:
space:
mode:
authorGal Pressman2016-11-17 12:46:01 +0100
committerSaeed Mahameed2017-01-19 22:20:01 +0100
commit8ed1a6306dc7892b63be7cdb1e3b1123265f42ff (patch)
treef6fb0ff35ee3a67ab8310fb3f5d3c515de9571af /include/linux/mlx5/driver.h
parentnet/mlx5e: Expose physical layer statistical counters to ethtool (diff)
downloadkernel-qcow2-linux-8ed1a6306dc7892b63be7cdb1e3b1123265f42ff.tar.gz
kernel-qcow2-linux-8ed1a6306dc7892b63be7cdb1e3b1123265f42ff.tar.xz
kernel-qcow2-linux-8ed1a6306dc7892b63be7cdb1e3b1123265f42ff.zip
net/mlx5: Add MPCNT register infrastructure
Add the needed infrastructure for future use of MPCNT register. Signed-off-by: Gal Pressman <galp@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'include/linux/mlx5/driver.h')
-rw-r--r--include/linux/mlx5/driver.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mlx5/driver.h b/include/linux/mlx5/driver.h
index 69c4661d391e..f4d6d390a9cf 100644
--- a/include/linux/mlx5/driver.h
+++ b/include/linux/mlx5/driver.h
@@ -126,6 +126,7 @@ enum {
MLX5_REG_HOST_ENDIANNESS = 0x7004,
MLX5_REG_MCIA = 0x9014,
MLX5_REG_MLCR = 0x902b,
+ MLX5_REG_MPCNT = 0x9051,
MLX5_REG_MTPPS = 0x9053,
MLX5_REG_MTPPSE = 0x9054,
MLX5_REG_MCAM = 0x907f,