net/mlx5: Add support for plugged-disabled cable status in PME
authorMikhael Goikhman <migo@mellanox.com>
Mon, 10 Dec 2018 21:15:11 +0000 (13:15 -0800)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 10 Dec 2018 22:00:08 +0000 (14:00 -0800)
commit8d6b57e6445989e9f34077ef1aac80b621029b08
tree9aadf604cfeb0e5f10717994db35ddde5fcde8b8
parent37a12aae06fda00f36eadb168d5d7ba0be3a8c86
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>
drivers/net/ethernet/mellanox/mlx5/core/events.c
drivers/net/ethernet/mellanox/mlx5/core/lib/mlx5.h