net/mlx5: Forward QP/WorkQueues resource events
authorSaeed Mahameed <saeedm@mellanox.com>
Mon, 26 Nov 2018 22:39:06 +0000 (14:39 -0800)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 30 Nov 2018 00:40:32 +0000 (16:40 -0800)
commit451be51c0b474f790e9833cd575fd9a6fbd679df
tree10a4b37d48005e5c24369d916e260237614f0c94
parentb8267cd765b333673e05696b517d38a1a7eb5b2e
net/mlx5: Forward QP/WorkQueues resource events

Allow forwarding QP and WQ events to mlx5_core interfaces, e.g. mlx5_ib

Use mlx5_notifier_register/unregister in qp.c in order to allow seamless
transition of qp.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/qp.c
include/linux/mlx5/driver.h