net/mlx5: Forward SRQ resource events
authorSaeed Mahameed <saeedm@mellanox.com>
Mon, 26 Nov 2018 22:39:07 +0000 (14:39 -0800)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 30 Nov 2018 00:40:32 +0000 (16:40 -0800)
commit4e2df04ad25ab8e627878817e56d6a27645ca4a8
tree4bf9e0d80ed21751ea2b460302e0202e68d0364d
parent451be51c0b474f790e9833cd575fd9a6fbd679df
net/mlx5: Forward SRQ resource events

Allow forwarding of SRQ events to mlx5_core interfaces, e.g. mlx5_ib.
Use mlx5_notifier_register/unregister in srq.c in order to allow seamless
transition of srq.c to infiniband subsystem.

Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/events.c
drivers/net/ethernet/mellanox/mlx5/core/srq.c
include/linux/mlx5/driver.h