summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSaeed Mahameed <saeedm@mellanox.com>2018-11-26 14:39:06 -0800
committerSaeed Mahameed <saeedm@mellanox.com>2018-11-29 16:40:32 -0800
commit451be51c0b474f790e9833cd575fd9a6fbd679df (patch)
tree10a4b37d48005e5c24369d916e260237614f0c94 /include
parentb8267cd765b333673e05696b517d38a1a7eb5b2e (diff)
downloadlinux-stable-451be51c0b474f790e9833cd575fd9a6fbd679df.tar.gz
linux-stable-451be51c0b474f790e9833cd575fd9a6fbd679df.tar.bz2
linux-stable-451be51c0b474f790e9833cd575fd9a6fbd679df.zip
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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mlx5/driver.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mlx5/driver.h b/include/linux/mlx5/driver.h
index a77bedb8a556..4f078b7f6620 100644
--- a/include/linux/mlx5/driver.h
+++ b/include/linux/mlx5/driver.h
@@ -456,7 +456,7 @@ struct mlx5_core_health {
};
struct mlx5_qp_table {
- struct mlx5_nb nb;
+ struct notifier_block nb;
/* protect radix tree
*/