]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitca3bdcf364579257d7bf65c47a042d2bf8b8fa2e
tree9aadf604cfeb0e5f10717994db35ddde5fcde8b8
parent5b04c4affc1f00dcb446d1ee898c9a9184b44689
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