Linux-RDMA Archive on lore.kernel.org
 help / color / Atom feed
From: Yishai Hadas <yishaih@mellanox.com>
To: linux-rdma@vger.kernel.org
Cc: jgg@mellanox.com, dledford@redhat.com, yishaih@mellanox.com,
	maorg@mellanox.com, michaelgur@mellanox.com
Subject: [PATCH rdma-core 0/7] verbs: Relaxed ordering memory regions
Date: Thu,  9 Jan 2020 16:04:29 +0200
Message-ID: <1578578676-752-1-git-send-email-yishaih@mellanox.com> (raw)

This series exposes an IBV_ACCESS_RELAXED_ORDERING optional MR access flag.
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.

The series uses the new ioctl command to get a device context, this command
enables reading some core generic capabilities such as supporting an optional
MR access flags by IB core and its related drivers.

This capability enables transparent masking of the optional flags in libibverbs
when the kernel doesn't support the MR optional access mode.

The series is based on an RFC that was sent to the ML [1], the matching kernel
series was sent to 'for-next'.
[1] https://www.spinics.net/lists/linux-rdma/msg86188.html

PR was sent:
https://github.com/linux-rdma/rdma-core/pull/660

Yishai

Michael Guralnik (6):
  verbs: Move free_context from verbs_device_ops to verbs_context_ops
  verbs: Move alloc_context to ioctl
  verbs: Relaxed ordering memory regions
  mlx5: Add optional access flags range to DM
  pyverbs: Add relaxed ordering access flag
  tests: Add relaxed ordering access test

Yishai Hadas (1):
  Update kernel headers

 debian/libibverbs1.symbols                |  2 +
 kernel-headers/rdma/ib_user_ioctl_cmds.h  | 15 ++++++
 kernel-headers/rdma/ib_user_ioctl_verbs.h | 12 +++++
 libibverbs/CMakeLists.txt                 |  2 +-
 libibverbs/cmd.c                          | 18 -------
 libibverbs/cmd_device.c                   | 79 +++++++++++++++++++++++++++++++
 libibverbs/device.c                       |  5 +-
 libibverbs/driver.h                       |  3 +-
 libibverbs/dummy_ops.c                    |  7 +++
 libibverbs/libibverbs.map.in              |  5 ++
 libibverbs/man/ibv_reg_mr.3               |  2 +
 libibverbs/verbs.c                        | 13 +++++
 libibverbs/verbs.h                        | 51 +++++++++++++++++++-
 libibverbs/verbs_api.h                    |  2 +
 providers/bnxt_re/main.c                  |  6 ++-
 providers/cxgb4/dev.c                     |  4 +-
 providers/efa/efa.c                       |  4 +-
 providers/hfi1verbs/hfiverbs.c            |  4 +-
 providers/hns/hns_roce_u.c                |  4 +-
 providers/i40iw/i40iw_umain.c             |  6 ++-
 providers/ipathverbs/ipathverbs.c         |  4 +-
 providers/mlx4/mlx4.c                     |  4 +-
 providers/mlx5/mlx5.c                     |  4 +-
 providers/mlx5/verbs.c                    |  3 +-
 providers/mthca/mthca.c                   |  6 ++-
 providers/ocrdma/ocrdma_main.c            |  6 ++-
 providers/qedr/qelr_main.c                |  4 +-
 providers/rxe/rxe.c                       |  6 ++-
 providers/siw/siw.c                       |  3 +-
 providers/vmw_pvrdma/pvrdma_main.c        |  4 +-
 pyverbs/libibverbs_enums.pxd              |  1 +
 tests/CMakeLists.txt                      |  5 +-
 tests/test_relaxed_ordering.py            | 55 +++++++++++++++++++++
 33 files changed, 301 insertions(+), 48 deletions(-)
 create mode 100644 tests/test_relaxed_ordering.py

-- 
1.8.3.1


             reply index

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-09 14:04 Yishai Hadas [this message]
2020-01-09 14:04 ` [PATCH rdma-core 1/7] Update kernel headers Yishai Hadas
2020-01-09 14:04 ` [PATCH rdma-core 2/7] verbs: Move free_context from verbs_device_ops to verbs_context_ops Yishai Hadas
2020-01-09 14:04 ` [PATCH rdma-core 3/7] verbs: Move alloc_context to ioctl Yishai Hadas
2020-01-09 14:04 ` [PATCH rdma-core 4/7] verbs: Relaxed ordering memory regions Yishai Hadas
2020-01-09 14:04 ` [PATCH rdma-core 5/7] mlx5: Add optional access flags range to DM Yishai Hadas
2020-01-09 14:04 ` [PATCH rdma-core 6/7] pyverbs: Add relaxed ordering access flag Yishai Hadas
2020-01-09 14:04 ` [PATCH rdma-core 7/7] tests: Add relaxed ordering access test Yishai Hadas
2020-01-22  9:50 ` [PATCH rdma-core 0/7] verbs: Relaxed ordering memory regions Yishai Hadas

Reply instructions:

You may reply publically 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=1578578676-752-1-git-send-email-yishaih@mellanox.com \
    --to=yishaih@mellanox.com \
    --cc=dledford@redhat.com \
    --cc=jgg@mellanox.com \
    --cc=linux-rdma@vger.kernel.org \
    --cc=maorg@mellanox.com \
    --cc=michaelgur@mellanox.com \
    /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

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