aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/lib/mlx5.h
diff options
context:
space:
mode:
authorMikhael Goikhman <migo@mellanox.com>2018-12-10 13:15:11 -0800
committerSaeed Mahameed <saeedm@mellanox.com>2018-12-10 14:00:08 -0800
commit8d6b57e6445989e9f34077ef1aac80b621029b08 (patch)
tree9aadf604cfeb0e5f10717994db35ddde5fcde8b8 /drivers/net/ethernet/mellanox/mlx5/core/lib/mlx5.h
parentnet/mlx5: Add support for PCIe power slot exceeded error in PME (diff)
downloadlinux-dev-8d6b57e6445989e9f34077ef1aac80b621029b08.tar.xz
linux-dev-8d6b57e6445989e9f34077ef1aac80b621029b08.zip
net/mlx5: Add support for plugged-disabled cable status in PME
Support a new hardware module status in port module events: - module_status=0x4 (Cable plugged, but disabled) Signed-off-by: Mikhael Goikhman <migo@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to '')
-rw-r--r--drivers/net/ethernet/mellanox/mlx5/core/lib/mlx5.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/lib/mlx5.h b/drivers/net/ethernet/mellanox/mlx5/core/lib/mlx5.h
index 979970f8fa0f..397a2847867a 100644
--- a/drivers/net/ethernet/mellanox/mlx5/core/lib/mlx5.h
+++ b/drivers/net/ethernet/mellanox/mlx5/core/lib/mlx5.h
@@ -51,6 +51,7 @@ enum port_module_event_status_type {
MLX5_MODULE_STATUS_PLUGGED = 0x1,
MLX5_MODULE_STATUS_UNPLUGGED = 0x2,
MLX5_MODULE_STATUS_ERROR = 0x3,
+ MLX5_MODULE_STATUS_DISABLED = 0x4,
MLX5_MODULE_STATUS_NUM,
};