All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH rdma-next v1 0/6] Expose CQ moderation to user space
@ 2017-10-29 13:51 Leon Romanovsky
       [not found] ` <20171029135140.32649-1-leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
  0 siblings, 1 reply; 24+ messages in thread
From: Leon Romanovsky @ 2017-10-29 13:51 UTC (permalink / raw)
  To: Doug Ledford; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA, Leon Romanovsky

Changelog 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-10-29-1

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

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/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 ++++++-
 include/linux/mlx4/cq.h               |  3 +++
 include/linux/mlx5/cq.h               |  3 +++
 include/rdma/ib_verbs.h               | 10 +++++++
 include/uapi/rdma/ib_user_verbs.h     | 22 ++++++++++++++-
 11 files changed, 109 insertions(+), 2 deletions(-)

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

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

end of thread, other threads:[~2017-11-11 15:45 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-29 13:51 [PATCH rdma-next v1 0/6] Expose CQ moderation to user space Leon Romanovsky
     [not found] ` <20171029135140.32649-1-leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2017-10-29 13:51   ` [PATCH rdma-next v1 1/6] IB/uverbs: Allow CQ moderation with modify CQ Leon Romanovsky
     [not found]     ` <20171029135140.32649-2-leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2017-10-29 17:43       ` Jason Gunthorpe
     [not found]         ` <20171029174345.GC4488-uk2M96/98Pc@public.gmane.org>
2017-10-29 18:28           ` Leon Romanovsky
     [not found]             ` <20171029182808.GN16127-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-10-30 14:48               ` Jason Gunthorpe
     [not found]                 ` <20171030144807.GA12392-uk2M96/98Pc@public.gmane.org>
2017-10-30 15:28                   ` Leon Romanovsky
     [not found]                     ` <20171030152815.GA16127-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-10-30 15:52                       ` Jason Gunthorpe
     [not found]                         ` <20171030155236.GC12392-uk2M96/98Pc@public.gmane.org>
2017-10-30 19:09                           ` Leon Romanovsky
     [not found]                             ` <20171030190952.GC16127-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-10-30 23:07                               ` Jason Gunthorpe
     [not found]                                 ` <20171030230753.GB4081-uk2M96/98Pc@public.gmane.org>
2017-10-31  5:08                                   ` Leon Romanovsky
     [not found]                                     ` <20171031050802.GE16127-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-10-31 11:31                                       ` Yishai Hadas
     [not found]                                         ` <13d687d9-80b4-621e-87bf-c6045da98c0c-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2017-10-31 15:40                                           ` Jason Gunthorpe
     [not found]                                             ` <20171031154046.GB9852-uk2M96/98Pc@public.gmane.org>
2017-10-31 17:06                                               ` Yishai Hadas
     [not found]                                                 ` <6e7e94e2-9b50-bfa4-a06a-b2452e1bc8a5-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2017-11-01 18:06                                                   ` Jason Gunthorpe
     [not found]                                                     ` <20171101180616.GI1030-uk2M96/98Pc@public.gmane.org>
2017-11-01 18:41                                                       ` Yishai Hadas
2017-11-10 19:15                       ` Doug Ledford
     [not found]                         ` <1510341329.3735.19.camel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2017-11-10 21:16                           ` Jason Gunthorpe
2017-11-11  8:09                           ` Leon Romanovsky
     [not found]                             ` <20171111080943.GT18825-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-11-11 15:45                               ` Jason Gunthorpe
2017-10-29 13:51   ` [PATCH rdma-next v1 2/6] IB/mlx4: Exposing modify CQ callback to uverbs layer Leon Romanovsky
2017-10-29 13:51   ` [PATCH rdma-next v1 3/6] IB/mlx5: " Leon Romanovsky
2017-10-29 13:51   ` [PATCH rdma-next v1 4/6] IB/uverbs: Add CQ moderation capability to query_device Leon Romanovsky
2017-10-29 13:51   ` [PATCH rdma-next v1 5/6] IB/mlx4: " Leon Romanovsky
2017-10-29 13:51   ` [PATCH rdma-next v1 6/6] IB/mlx5: " Leon Romanovsky

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.