diff options
author | Yishai Hadas <yishaih@mellanox.com> | 2019-01-13 16:01:17 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-01-21 20:06:49 -0700 |
commit | 534fd7aac56a7994d16032f32123def9923e339f (patch) | |
tree | abf22f47cbefc6f322dab4627cccc106a0760b5a /include/linux/mlx5 | |
parent | fa31f14380bea60ccc9d7a314e0cb61f6984627f (diff) | |
download | linux-534fd7aac56a7994d16032f32123def9923e339f.tar.gz linux-534fd7aac56a7994d16032f32123def9923e339f.tar.bz2 linux-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 'include/linux/mlx5')
-rw-r--r-- | include/linux/mlx5/driver.h | 1 |
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 { |