All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH rdma-next 0/3] Add support for dynamic UAR usage
@ 2017-12-24 14:31 Leon Romanovsky
       [not found] ` <20171224143136.12306-1-leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Leon Romanovsky @ 2017-12-24 14:31 UTC (permalink / raw)
  To: Doug Ledford, Jason Gunthorpe
  Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA, Yishai Hadas

>From Yishai:

This series enables the user space driver to ask for a dynamic UAR
allocation and uses its internal BF (i.e. blue-flame) registers as part
of QP creation.

The motivation behind this functionality is to let the user space driver
share BF register between few QPs or to set a dedicated BF for a given QP.

The above gives an option to user space applications to utilize its
resources and performance according to its needs.

For example:
An application can improve its performance by having a dedicated BF for
collection of QPs that are running from the same thread and drop the
need to take a lock as part of its post send flow. This is not enabled
today as the kernel driver assigned BF registers in some FIFO logic and
as such QPs from different threads may share same BF and as such a lock
when accessing this BF will be needed.

The series consists from 3 patches:
The first patch extends the alloc context flow to be prepared for
working with dynamic UAR allocations.
The second patch exposes the option to dynamic allocates a UAR.
The third patch uses the given BF register from the user area as
part of QP creation instead of using some arbitrary BF register.

The patches are available in the git repository at:
  git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma.git tags/rdma-next-2017-12-24-5

	Thanks
---------------------------------------

Yishai Hadas (3):
  IB/mlx5: Extend UAR stuff to support dynamic allocation
  IB/mlx5: Expose dynamic mmap allocation
  IB/mlx5: Enable QP creation with a given blue flame index

 drivers/infiniband/hw/mlx5/main.c    | 141 ++++++++++++++++++++++++++++-------
 drivers/infiniband/hw/mlx5/mlx5_ib.h |  13 +++-
 drivers/infiniband/hw/mlx5/qp.c      |  55 ++++++++++----
 include/linux/mlx5/device.h          |   2 +
 include/linux/mlx5/driver.h          |   3 +
 include/uapi/rdma/mlx5-abi.h         |   5 +-
 6 files changed, 177 insertions(+), 42 deletions(-)

--
2.15.1

--
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

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

end of thread, other threads:[~2017-12-28 20:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-24 14:31 [PATCH rdma-next 0/3] Add support for dynamic UAR usage Leon Romanovsky
     [not found] ` <20171224143136.12306-1-leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2017-12-24 14:31   ` [PATCH rdma-next 1/3] IB/mlx5: Extend UAR stuff to support dynamic allocation Leon Romanovsky
2017-12-24 14:31   ` [PATCH rdma-next 2/3] IB/mlx5: Expose dynamic mmap allocation Leon Romanovsky
2017-12-24 14:31   ` [PATCH rdma-next 3/3] IB/mlx5: Enable QP creation with a given blue flame index Leon Romanovsky
2017-12-28 20:01   ` [PATCH rdma-next 0/3] Add support for dynamic UAR usage Jason Gunthorpe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.