diff options
author | Saeed Mahameed <saeedm@mellanox.com> | 2018-11-26 14:39:07 -0800 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2018-11-29 16:40:32 -0800 |
commit | 4e2df04ad25ab8e627878817e56d6a27645ca4a8 (patch) | |
tree | 4bf9e0d80ed21751ea2b460302e0202e68d0364d /include/linux/mlx5 | |
parent | 451be51c0b474f790e9833cd575fd9a6fbd679df (diff) | |
download | talos-op-linux-4e2df04ad25ab8e627878817e56d6a27645ca4a8.tar.gz talos-op-linux-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/linux/mlx5')
-rw-r--r-- | include/linux/mlx5/driver.h | 3 |
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; |