aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mlx5/driver.h
diff options
context:
space:
mode:
authorYishai Hadas <yishaih@mellanox.com>2019-01-13 16:01:17 +0200
committerJason Gunthorpe <jgg@mellanox.com>2019-01-21 20:06:49 -0700
commit534fd7aac56a7994d16032f32123def9923e339f (patch)
treeabf22f47cbefc6f322dab4627cccc106a0760b5a /include/linux/mlx5/driver.h
parentIB/mlx5: DEVX handling for indirection MKEY (diff)
downloadlinux-dev-534fd7aac56a7994d16032f32123def9923e339f.tar.xz
linux-dev-534fd7aac56a7994d16032f32123def9923e339f.zip
IB/mlx5: Manage indirection mkey upon DEVX flow for ODP
Manage indirection mkey upon DEVX flow to support ODP. To support a page fault event on the indirection mkey it needs to be part of the device mkey radix tree. Both the creation and the deletion flows for a DEVX object which is indirection mkey were adapted to handle that. Signed-off-by: Yishai Hadas <yishaih@mellanox.com> Reviewed-by: Artemy Kovalyov <artemyko@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to '')
-rw-r--r--include/linux/mlx5/driver.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mlx5/driver.h b/include/linux/mlx5/driver.h
index b6f5839f129a..619d6fee96a1 100644
--- a/include/linux/mlx5/driver.h
+++ b/include/linux/mlx5/driver.h
@@ -364,6 +364,7 @@ struct mlx5_core_sig_ctx {
enum {
MLX5_MKEY_MR = 1,
MLX5_MKEY_MW,
+ MLX5_MKEY_INDIRECT_DEVX,
};
struct mlx5_core_mkey {