Linux-RDMA Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH rdma-next 00/10] Relaxed ordering memory regions 
@ 2020-01-08 18:05 Yishai Hadas
  2020-01-08 18:05 ` [PATCH rdma-next 01/10] net/mlx5: Expose relaxed ordering bits Yishai Hadas
                   ` (10 more replies)
  0 siblings, 11 replies; 19+ messages in thread
From: Yishai Hadas @ 2020-01-08 18:05 UTC (permalink / raw)
  To: linux-rdma, jgg, dledford; +Cc: saeedm, yishaih, maorg, michaelgur, netdev

This series adds an ioctl command to allocate an async event file followed by a
new ioctl command to get a device context.

The get device context command enables reading some core generic capabilities
such as supporting an optional MR access flags by IB core and its related
drivers.

Once the above is enabled, a new optional MR access flag named
IB_UVERBS_ACCESS_RELAXED_ORDERING is added and is used by mlx5 driver.

This optional flag allows creation of relaxed ordering memory regions.  Access
through such MRs can improve performance by allowing the system to reorder
certain accesses.

As relaxed ordering is an optimization, drivers that do not support it can
simply ignore it.

Note: This series relies on the 'Refactoring FD usage' series [1] that was sent
to rdma-next.
[1] https://patchwork.kernel.org/project/linux-rdma/list/?series=225541

Yishai

Jason Gunthorpe (3):
  RDMA/core: Add UVERBS_METHOD_ASYNC_EVENT_ALLOC
  RDMA/core: Remove ucontext_lock from the uverbs_destry_ufile_hw() path
  RDMA/uverbs: Add ioctl command to get a device context

Michael Guralnik (7):
  net/mlx5: Expose relaxed ordering bits
  RDMA/uverbs: Verify MR access flags
  RDMA/core: Add optional access flags range
  RDMA/efa: Allow passing of optional access flags for MR registration
  RDMA/uverbs: Add new relaxed ordering memory region access flag
  RDMA/core: Add the core support field to METHOD_GET_CONTEXT
  RDMA/mlx5: Set relaxed ordering when requested

 drivers/infiniband/core/rdma_core.c                |  21 +---
 drivers/infiniband/core/uverbs.h                   |   3 +
 drivers/infiniband/core/uverbs_cmd.c               | 133 ++++++++++++---------
 drivers/infiniband/core/uverbs_main.c              |  11 +-
 .../infiniband/core/uverbs_std_types_async_fd.c    |  21 +++-
 drivers/infiniband/core/uverbs_std_types_device.c  |  38 ++++++
 drivers/infiniband/hw/efa/efa_verbs.c              |   1 +
 drivers/infiniband/hw/mlx5/mlx5_ib.h               |   5 +-
 drivers/infiniband/hw/mlx5/mr.c                    |  19 ++-
 drivers/infiniband/hw/mlx5/odp.c                   |   2 +-
 drivers/infiniband/hw/mlx5/qp.c                    |   2 +-
 include/linux/mlx5/mlx5_ifc.h                      |   7 +-
 include/rdma/ib_verbs.h                            |   8 +-
 include/uapi/rdma/ib_user_ioctl_cmds.h             |  14 +++
 include/uapi/rdma/ib_user_ioctl_verbs.h            |  12 ++
 15 files changed, 209 insertions(+), 88 deletions(-)

-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, back to index

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-08 18:05 [PATCH rdma-next 00/10] Relaxed ordering memory regions Yishai Hadas
2020-01-08 18:05 ` [PATCH rdma-next 01/10] net/mlx5: Expose relaxed ordering bits Yishai Hadas
2020-01-08 18:05 ` [PATCH rdma-next 02/10] RDMA/core: Add UVERBS_METHOD_ASYNC_EVENT_ALLOC Yishai Hadas
2020-01-08 18:05 ` [PATCH rdma-next 03/10] RDMA/core: Remove ucontext_lock from the uverbs_destry_ufile_hw() path Yishai Hadas
2020-01-08 18:05 ` [PATCH rdma-next 04/10] RDMA/uverbs: Add ioctl command to get a device context Yishai Hadas
2020-01-08 18:05 ` [PATCH rdma-next 05/10] RDMA/uverbs: Verify MR access flags Yishai Hadas
2020-01-08 18:05 ` [PATCH rdma-next 06/10] RDMA/core: Add optional access flags range Yishai Hadas
2020-01-08 18:05 ` [PATCH rdma-next 07/10] RDMA/efa: Allow passing of optional access flags for MR registration Yishai Hadas
2020-01-21 16:37   ` Gal Pressman
2020-01-21 16:57     ` Yishai Hadas
2020-01-22  7:51       ` Gal Pressman
2020-01-08 18:05 ` [PATCH rdma-next 08/10] RDMA/uverbs: Add new relaxed ordering memory region access flag Yishai Hadas
2020-01-09  9:38   ` Sergei Shtylyov
2020-01-15 18:05   ` Jason Gunthorpe
2020-01-08 18:05 ` [PATCH rdma-next 09/10] RDMA/core: Add the core support field to METHOD_GET_CONTEXT Yishai Hadas
2020-01-08 18:05 ` [PATCH rdma-next 10/10] RDMA/mlx5: Set relaxed ordering when requested Yishai Hadas
2020-01-15 18:08 ` [PATCH rdma-next 00/10] Relaxed ordering memory regions Jason Gunthorpe
2020-01-16  9:20   ` Leon Romanovsky
2020-01-16 20:11     ` Jason Gunthorpe

Linux-RDMA Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-rdma/0 linux-rdma/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-rdma linux-rdma/ https://lore.kernel.org/linux-rdma \
		linux-rdma@vger.kernel.org
	public-inbox-index linux-rdma

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-rdma


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git