Expand ODP MR to support implicit registration
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | IB/core: Add implicit MR flaginclude/ | +2 | 0 replies | |
| 2/6 | IB/umem: Update on demand page (ODP) supportdrivers/ drivers/ drivers/ +1 more | +113 | 0 replies | |
| 3/6 | IB/umem: Indicate that process is being terminateddrivers/ | +3 | 0 replies | |
| 4/6 | IB/mlx5: Add null_mkey accessdrivers/ drivers/ drivers/ | +89 | 0 replies | |
| 5/6 | IB/mlx5: Expose MR cache for mlx5_ibdrivers/ drivers/ include/ | +82 | 0 replies | |
| 6/6 | IB/mlx5: Add implicit MR supportdrivers/ drivers/ drivers/ +2 more | +513 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH rdma-next 0/6] Expand ODP MR to support implicit registration
Hi Doug,
This patchset comes from Artemy Kovalyov who proposed to expand current ODP feature to register memory with simplified and enhanced semantics.
In existing ODP implementation applications still register memory buffers for communication, though registered memory regions need not have valid mappings at registration time.
This patchset adds implicit ODP sematics, where applications are provided with a special memory key that represents their complete address space.
Thus all IO accesses referencing this key (subject to the access rights associated with the key) won't need register any virtual address range.
Thanks,
Artemy, Ilya and Leon
---
CC: Artemy Kovalyov <artemyko-VPRAkNaXOzVWk0Htik3J/[email protected]>
CC: Ilya Lesokhin <ilyal-VPRAkNaXOzVWk0Htik3J/[email protected]>
---
This patchset was generated against commitf502d834950a ("net/mlx5: Activate support for 4K UARs") and it applies cleanly on k.o/for-4.11 branch.
This series has merge conflict with "IB/mlx5: Remove deprecated module parameter" commit which was sent earlier.
The conflict fix can be found at the following merge commit:
https://git.kernel.org/cgit/linux/kernel/git/leon/linux-rdma.git/commit/?h=rdma-next&id=ff2fc3dcef94ff36cdcac32afaef1e2ee2120755
Available in the "topic/odp-ksm" topic branch of this git repo:git://git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma.git
Or for browsing:
https://git.kernel.org/cgit/linux/kernel/git/leon/linux-rdma.git/log/?h=topic/odp-ksm
Artemy Kovalyov (6):
IB/core: Add implicit MR flag
IB/umem: Update on demand page (ODP) support IB/umem: Indicate that process is being terminated IB/mlx5: Add null_mkey access
IB/mlx5: Expose MR cache for mlx5_ib IB/mlx5: Add implicit MR support
drivers/infiniband/core/umem.c | 3 - drivers/infiniband/core/umem_odp.c | 92 ++++++- drivers/infiniband/core/umem_rbtree.c | 21 +- drivers/infiniband/hw/mlx5/Makefile | 2 +- drivers/infiniband/hw/mlx5/cmd.c | 48 ++++ drivers/infiniband/hw/mlx5/cmd.h | 40 +++ drivers/infiniband/hw/mlx5/main.c | 2 + drivers/infiniband/hw/mlx5/mlx5_ib.h | 29 +- drivers/infiniband/hw/mlx5/mr.c | 128 +++++++-- drivers/infiniband/hw/mlx5/odp.c | 505 +++++++++++++++++++++++++++++++--- include/linux/mlx5/driver.h | 5 +- include/rdma/ib_umem_odp.h | 21 +- include/rdma/ib_verbs.h | 3 +- 13 files changed, 800 insertions(+), 99 deletions(-) create mode 100644 drivers/infiniband/hw/mlx5/cmd.c create mode 100644 drivers/infiniband/hw/mlx5/cmd.h
--
2.10.2
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html