linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Leon Romanovsky <leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Artemy Kovalyov
	<artemyko-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>,
	Ilya Lesokhin <ilyal-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
Subject: [PATCH rdma-next 0/6] Expand ODP MR to support implicit registration
Date: Wed, 18 Jan 2017 16:58:05 +0200	[thread overview]
Message-ID: <20170118145811.9136-1-leon@kernel.org> (raw)

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/w@public.gmane.org>
CC: Ilya Lesokhin <ilyal-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
---
This patchset was generated against commit
f502d834950a ("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 majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

             reply	other threads:[~2017-01-18 14:58 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-18 14:58 Leon Romanovsky [this message]
     [not found] ` <20170118145811.9136-1-leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2017-01-18 14:58   ` [PATCH rdma-next 1/6] IB/core: Add implicit MR flag Leon Romanovsky
2017-01-18 14:58   ` [PATCH rdma-next 2/6] IB/umem: Update on demand page (ODP) support Leon Romanovsky
2017-01-18 14:58   ` [PATCH rdma-next 3/6] IB/umem: Indicate that process is being terminated Leon Romanovsky
2017-01-18 14:58   ` [PATCH rdma-next 4/6] IB/mlx5: Add null_mkey access Leon Romanovsky
2017-01-18 14:58   ` [PATCH rdma-next 5/6] IB/mlx5: Expose MR cache for mlx5_ib Leon Romanovsky
2017-01-18 14:58   ` [PATCH rdma-next 6/6] IB/mlx5: Add implicit MR support Leon Romanovsky
2017-02-14 16:45   ` [PATCH rdma-next 0/6] Expand ODP MR to support implicit registration Doug Ledford

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170118145811.9136-1-leon@kernel.org \
    --to=leon-dgejt+ai2ygdnm+yrofe0a@public.gmane.org \
    --cc=artemyko-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
    --cc=dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=ilyal-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).