aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSaeed Mahameed <saeedm@mellanox.com>2018-11-26 14:39:07 -0800
committerSaeed Mahameed <saeedm@mellanox.com>2018-11-29 16:40:32 -0800
commit4e2df04ad25ab8e627878817e56d6a27645ca4a8 (patch)
tree4bf9e0d80ed21751ea2b460302e0202e68d0364d /include
parentnet/mlx5: Forward QP/WorkQueues resource events (diff)
downloadlinux-dev-4e2df04ad25ab8e627878817e56d6a27645ca4a8.tar.xz
linux-dev-4e2df04ad25ab8e627878817e56d6a27645ca4a8.zip
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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mlx5/driver.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/mlx5/driver.h b/include/linux/mlx5/driver.h
index 4f078b7f6620..27a481b159ed 100644
--- a/include/linux/mlx5/driver.h
+++ b/include/linux/mlx5/driver.h
@@ -465,8 +465,7 @@ struct mlx5_qp_table {
};
struct mlx5_srq_table {
- struct mlx5_nb catas_err_nb;
- struct mlx5_nb rq_limit_nb;
+ struct notifier_block nb;
/* protect radix tree
*/
spinlock_t lock;