]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Enable general events on all interfaces
authorAya Levin <ayal@mellanox.com>
Mon, 29 Apr 2019 18:14:09 +0000 (18:14 +0000)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 29 Apr 2019 23:55:05 +0000 (16:55 -0700)
commit6a2118adb3d9b12cbdfee55ba74a9e48a7bb9440
treed74a0cddda8b9a890e822901854dffdb969a0423
parenta91c4d8ba71e268a1c0c2ade66fd6a3cf1192926
net/mlx5: Enable general events on all interfaces

Open events of type 'GENERAL' to all types of interfaces. Prior to this
patch, 'GENERAL' events were captured only by Ethernet interfaces. Other
interface types (non-Ethernet) were excluded and couldn't receive
'GENERAL' events.

Fixes: 32fe04261515 ("net/mlx5: Handle event of power detection in the PCIE slot")
Signed-off-by: Aya Levin <ayal@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/eq.c