IB/mlx5: Add support for ODP for DEVX indirection mkey
authorYishai Hadas <yishaih@mellanox.com>
Sun, 13 Jan 2019 14:01:18 +0000 (16:01 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 22 Jan 2019 03:06:49 +0000 (20:06 -0700)
commit414556af5f27c1f40b2afb18c3a1fee4b9535d40
treec770b3db7fc9b4b934bd86f6d4e43a60e1a52fcc
parent534fd7aac56a7994d16032f32123def9923e339f
IB/mlx5: Add support for ODP for DEVX indirection mkey

Add support for ODP for DEVX indirection mkey, it includes:
- Recognizing its type as part of the radix tree lookup.
- Use similar flow as done for the MW MKEY type.

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>
drivers/infiniband/hw/mlx5/odp.c