All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH for-next 0/4] User-space time-stamping support for mlx5_ib
@ 2015-11-09 16:30 Matan Barak
       [not found] ` <1447086657-15358-1-git-send-email-matanb-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 22+ messages in thread
From: Matan Barak @ 2015-11-09 16:30 UTC (permalink / raw)
  To: Eli Cohen
  Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA, Doug Ledford, Matan Barak,
	Eran Ben Elisha, Yann Droneaud

Hi Eli,

This patch-set adds user-space support for time-stamping in mlx5_ib.
It implements the necessary API:
(a) ib_create_cq_ex - Add support for CQ creation flags
(b) ib_query_device - return timestamp_mask and hca_core_clock.

We also add support for mmaping the HCA's free running clock.
In order to do so, we use the response of the vendor's extended
part in ib_query_device. This allows us to pass the page offset
of the free running clock register to the user-space driver.
In order to implement it in a future extensible manner, we  use the
same mechanism of verbs extensions to the mlx5 vendor part as well.

Regards,
Matan



Matan Barak (4):
  IB/mlx5: Add create_cq extended command
  IB/core: Add ib_is_udata_cleared
  IB/mlx5: Add support querying timestamp related fields in query_device
  IB/mlx5: Mmap the HCA's core clock register to user-space

 drivers/infiniband/hw/mlx5/cq.c      |  7 ++++
 drivers/infiniband/hw/mlx5/main.c    | 69 ++++++++++++++++++++++++++++++++++--
 drivers/infiniband/hw/mlx5/mlx5_ib.h | 22 +++++++++++-
 include/linux/mlx5/device.h          | 10 +++---
 include/linux/mlx5/mlx5_ifc.h        |  9 +++--
 include/rdma/ib_verbs.h              | 20 +++++++++++
 6 files changed, 125 insertions(+), 12 deletions(-)

-- 
2.1.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] 22+ messages in thread

end of thread, other threads:[~2015-11-22 14:04 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-09 16:30 [PATCH for-next 0/4] User-space time-stamping support for mlx5_ib Matan Barak
     [not found] ` <1447086657-15358-1-git-send-email-matanb-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2015-11-09 16:30   ` [PATCH for-next 1/4] IB/mlx5: Add create_cq extended command Matan Barak
     [not found]     ` <1447086657-15358-2-git-send-email-matanb-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2015-11-09 17:06       ` Eli Cohen
2015-11-09 17:06       ` Eli Cohen
2015-11-09 23:22       ` Jason Gunthorpe
     [not found]         ` <20151109232259.GB20707-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2015-11-10  8:28           ` Matan Barak
2015-11-09 23:24       ` Jason Gunthorpe
     [not found]         ` <20151109232400.GC20707-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2015-11-10  8:30           ` Matan Barak
2015-11-19 14:54       ` Christoph Hellwig
     [not found]         ` <20151119145457.GA1104-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
2015-11-22  9:05           ` Matan Barak
     [not found]             ` <CAAKD3BAOq+26vV1k5LKOXgOfdr2J92fBta31Pv9XHhEcFc3v6g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-11-22 10:15               ` Christoph Hellwig
     [not found]                 ` <20151122101520.GA25187-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
2015-11-22 14:04                   ` Matan Barak
2015-11-09 16:30   ` [PATCH for-next 2/4] IB/core: Add ib_is_udata_cleared Matan Barak
     [not found]     ` <1447086657-15358-3-git-send-email-matanb-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2015-11-09 17:07       ` Eli Cohen
2015-11-09 19:18       ` Leon Romanovsky
     [not found]         ` <20151109191817.GE4023-2ukJVAZIZ/Y@public.gmane.org>
2015-11-10  8:38           ` Matan Barak
2015-11-09 16:30   ` [PATCH for-next 3/4] IB/mlx5: Add support querying timestamp related fields in query_device Matan Barak
     [not found]     ` <1447086657-15358-4-git-send-email-matanb-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2015-11-09 17:08       ` Eli Cohen
2015-11-09 19:26       ` Leon Romanovsky
     [not found]         ` <20151109192610.GF4023-2ukJVAZIZ/Y@public.gmane.org>
2015-11-10  8:52           ` Matan Barak
2015-11-09 16:30   ` [PATCH for-next 4/4] IB/mlx5: Mmap the HCA's core clock register to user-space Matan Barak
     [not found]     ` <1447086657-15358-5-git-send-email-matanb-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2015-11-09 17:09       ` Eli Cohen

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.