linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH rdma-next v2 0/7] Expose CQ moderation to user space
@ 2017-11-13  8:51 Leon Romanovsky
       [not found] ` <20171113085119.1705-1-leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Leon Romanovsky @ 2017-11-13  8:51 UTC (permalink / raw)
  To: Doug Ledford; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA, Leon Romanovsky

Changelog:
v1->v2:
 * Replaced word cookie to be CQE in commit messages.
 * Added patch to rename ib_modify_cq() to be rdma_set_moderation()
v0->v1:
 * Dropped comp_mask, there is already attr_mask
 * Put CQ moderartion into special struct instead of general struct
 * ib_uverbs_ex_modify_cq

------------------------------------------------------------------------------
This patch set exposes CQ moderation. This will allow to moderate
number of CQEs needed to create an event. Such change brings performance
improvement by reducing pressure on application to receive event per-CQE.

The proposed semantics follows the well-established kernel semantics.
  * cq_max_count - defines the number of cookies needed to create an event.                                                                                            * cq_period    - defines the timeout between last event and a new one
		   that will occur even if cq_max_count was not reached

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

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

Leon Romanovsky (1):
  RDMA/core: Rename kernel modify_cq to better describe its usage

Yonatan Cohen (6):
  IB/uverbs: Allow CQ moderation with modify CQ
  IB/mlx4: Exposing modify CQ callback to uverbs layer
  IB/mlx5: Exposing modify CQ callback to uverbs layer
  IB/uverbs: Add CQ moderation capability to query_device
  IB/mlx4: Add CQ moderation capability to query_device
  IB/mlx5: Add CQ moderation capability to query_device

 drivers/infiniband/core/uverbs.h             |  1 +
 drivers/infiniband/core/uverbs_cmd.c         | 51 ++++++++++++++++++++++++++++
 drivers/infiniband/core/uverbs_main.c        |  1 +
 drivers/infiniband/core/verbs.c              |  4 +--
 drivers/infiniband/hw/mlx4/main.c            |  6 ++++
 drivers/infiniband/hw/mlx4/mlx4_ib.h         |  1 +
 drivers/infiniband/hw/mlx5/cq.c              |  3 ++
 drivers/infiniband/hw/mlx5/main.c            | 10 +++++-
 drivers/infiniband/ulp/ipoib/ipoib_ethtool.c |  5 +--
 include/linux/mlx4/cq.h                      |  3 ++
 include/linux/mlx5/cq.h                      |  3 ++
 include/rdma/ib_verbs.h                      | 14 ++++++--
 include/uapi/rdma/ib_user_verbs.h            | 22 +++++++++++-
 13 files changed, 116 insertions(+), 8 deletions(-)

--
2.15.0

--
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] 9+ messages in thread

end of thread, other threads:[~2017-11-13 22:01 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-13  8:51 [PATCH rdma-next v2 0/7] Expose CQ moderation to user space Leon Romanovsky
     [not found] ` <20171113085119.1705-1-leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2017-11-13  8:51   ` [PATCH rdma-next v2 1/7] IB/uverbs: Allow CQ moderation with modify CQ Leon Romanovsky
2017-11-13  8:51   ` [PATCH rdma-next v2 2/7] IB/mlx4: Exposing modify CQ callback to uverbs layer Leon Romanovsky
2017-11-13  8:51   ` [PATCH rdma-next v2 3/7] IB/mlx5: " Leon Romanovsky
2017-11-13  8:51   ` [PATCH rdma-next v2 4/7] IB/uverbs: Add CQ moderation capability to query_device Leon Romanovsky
2017-11-13  8:51   ` [PATCH rdma-next v2 5/7] IB/mlx4: " Leon Romanovsky
2017-11-13  8:51   ` [PATCH rdma-next v2 6/7] IB/mlx5: " Leon Romanovsky
2017-11-13  8:51   ` [PATCH rdma-next v2 7/7] RDMA/core: Rename kernel modify_cq to better describe its usage Leon Romanovsky
2017-11-13 22:01   ` [PATCH rdma-next v2 0/7] Expose CQ moderation to user space Doug Ledford

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