summaryrefslogtreecommitdiffstats
path: root/include/linux/mlx5
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@nvidia.com>2023-06-05 13:14:05 +0300
committerLeon Romanovsky <leon@kernel.org>2023-06-11 11:21:28 +0300
commit2ecfd946169e7f56534db2a5f6935858be3005ba (patch)
tree1e5cfbc04723f8730843efa094bace27c4333fd0 /include/linux/mlx5
parentc023b61ac8285dc6b2b2f275bf9d97cfd36b56fb (diff)
downloadlinux-stable-2ecfd946169e7f56534db2a5f6935858be3005ba.tar.gz
linux-stable-2ecfd946169e7f56534db2a5f6935858be3005ba.tar.bz2
linux-stable-2ecfd946169e7f56534db2a5f6935858be3005ba.zip
RDMA/mlx5: Reduce QP table exposure
driver.h is common header to whole mlx5 code base, but struct mlx5_qp_table is used in mlx5_ib driver only. So move that struct to be under sole responsibility of mlx5_ib. Link: https://lore.kernel.org/r/bec0dc1158e795813b135d1143147977f26bf668.1685953497.git.leon@kernel.org Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Diffstat (limited to 'include/linux/mlx5')
-rw-r--r--include/linux/mlx5/driver.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/mlx5/driver.h b/include/linux/mlx5/driver.h
index a4c4f737f9c1..e3b616388b18 100644
--- a/include/linux/mlx5/driver.h
+++ b/include/linux/mlx5/driver.h
@@ -443,15 +443,6 @@ struct mlx5_core_health {
struct delayed_work update_fw_log_ts_work;
};
-struct mlx5_qp_table {
- struct notifier_block nb;
-
- /* protect radix tree
- */
- spinlock_t lock;
- struct radix_tree_root tree;
-};
-
enum {
MLX5_PF_NOTIFY_DISABLE_VF,
MLX5_PF_NOTIFY_ENABLE_VF,