All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V2 rdma-core 0/6] Enable mlx5 vendor functionality
@ 2017-03-23 13:55 Yishai Hadas
       [not found] ` <1490277329-8738-1-git-send-email-yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 15+ messages in thread
From: Yishai Hadas @ 2017-03-23 13:55 UTC (permalink / raw)
  To: dledford-H+wXaHxf7aLQT0dZR+AlfA
  Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA,
	yishaih-VPRAkNaXOzVWk0Htik3J/w, bodong-VPRAkNaXOzVWk0Htik3J/w,
	majd-VPRAkNaXOzVWk0Htik3J/w,
	jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/

Sending V2 to handle few notes from Jason, details below.

This patch set is the supplementary part of the kernel series that
was accepted few months ago into 4.10.

The below functionality was accepted in mlx5 kernel driver in the vendor
channel path as some driver specific capabilities and functionality, as such it
is exposed to user applications in the same manner by using the direct access
mechanism.

The vendor specific capabilities are reported via the direct mlx5 query
capabilities API.

In addition, an explicit API was added in mlx5 to enable creating a CQ with
some private data. This private data is passed to mlx5 kernel driver in the
vendor channel path.

This follows the requirement to have a more rigid, typed interface than
previous solution that was used on top of ibv_create_cq_ex().

To be able to share the libibverbs code of ibv_create_cq_ex() as of locking,
reference counting a verbs helper API was added, see patch #4 for further details.

Specifically this series:
Report whether mlx5 hardware supports multi packet send WQE offload for RAW QP.
- Multi packet WQE enables sending multiple fix sized packets using a single
  WQE. When the WQE is completed a single CQE will be generated.

Report CQE compressing capabilities and enable creating a CQ with such
capabilities.
- CQE compressing reduces PCI overhead by coalescing and compressing multiple
  CQEs into a single merged CQE. Successful compressing improves message rate
  especially for small packet traffic. 

The series is exposed from 6 patches:
#1:   Pre-patch which aligns mlx5 query device response to 64 bit.
#2-3: Report mlx5 specific hardware capabilities through direct verbs.
#4:   Enable an helper API for post CQ creation for providers.
#5:   Add support in mlx5 provider to create a CQ with compressed CQEs using
      private vendor data.
#6:   Bump package version and update debian relevant files.

Pull request was sent:
https://github.com/linux-rdma/rdma-core/pull/103

Changes from V1:
Patch #4:
- Move to use an helper function from verbs instead of using some provider
  callback.
- Bump the whole IBVERBS_PRIVATE section to 14.
	  
Patch #5:
- Move to use the verbs helper API.
- Naming changes. (replaced 'vendor' and dropped 'ex')
- Update libmlx5.map to use coming version number.(i.e. 14).

An additional patch #6 was added:
- Bump package version and update debian relevant files.
- As a result the relevant libraries symlinks (verb, mlx5) has 1.14 in
  the name as expected. (Tested in both RH & debian).

Bodong Wang (3):
  mlx5: Explicitly align mlx5 query device response to 64 bit
  mlx5: Report multi packet send WQE capability for mlx5 based hardware
  mlx5: Report CQE compression capabilities through mlx5 direct verbs

Yishai Hadas (3):
  verbs: Expose verbs init CQ helper API
  mlx5: Expose direct create_cq with private data
  Bump version and update debian

 CMakeLists.txt                           |  2 +-
 debian/changelog                         |  5 ++-
 debian/ibverbs-providers.symbols         |  2 ++
 debian/libibverbs1.symbols               |  2 +-
 libibverbs/device.c                      | 38 ++++++++++++++---------
 libibverbs/driver.h                      |  3 ++
 libibverbs/ibverbs.h                     |  2 +-
 libibverbs/libibverbs.map                |  3 +-
 libibverbs/verbs.c                       | 26 ++++------------
 providers/mlx5/libmlx5.map               |  5 +++
 providers/mlx5/man/mlx5dv_query_device.3 |  1 +
 providers/mlx5/mlx5-abi.h                | 15 +++++++--
 providers/mlx5/mlx5.c                    | 17 +++++++++--
 providers/mlx5/mlx5.h                    |  6 ++++
 providers/mlx5/mlx5dv.h                  | 33 +++++++++++++++++++-
 providers/mlx5/verbs.c                   | 52 +++++++++++++++++++++++++++++---
 16 files changed, 163 insertions(+), 49 deletions(-)

-- 
1.8.3.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] 15+ messages in thread

end of thread, other threads:[~2017-03-26 20:45 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-23 13:55 [PATCH V2 rdma-core 0/6] Enable mlx5 vendor functionality Yishai Hadas
     [not found] ` <1490277329-8738-1-git-send-email-yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2017-03-23 13:55   ` [PATCH V2 rdma-core 1/6] mlx5: Explicitly align mlx5 query device response to 64 bit Yishai Hadas
2017-03-23 13:55   ` [PATCH V2 rdma-core 2/6] mlx5: Report multi packet send WQE capability for mlx5 based hardware Yishai Hadas
2017-03-23 13:55   ` [PATCH V2 rdma-core 3/6] mlx5: Report CQE compression capabilities through mlx5 direct verbs Yishai Hadas
2017-03-23 13:55   ` [PATCH V2 rdma-core 4/6] verbs: Expose verbs init CQ helper API Yishai Hadas
2017-03-23 13:55   ` [PATCH V2 rdma-core 5/6] mlx5: Expose direct create_cq with private data Yishai Hadas
2017-03-23 13:55   ` [PATCH V2 rdma-core 6/6] Bump version and update debian Yishai Hadas
     [not found]     ` <1490277329-8738-7-git-send-email-yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2017-03-23 17:19       ` Jason Gunthorpe
     [not found]         ` <20170323171916.GB5840-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-03-23 19:11           ` Leon Romanovsky
     [not found]             ` <20170323191155.GC20443-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-03-23 20:02               ` Jason Gunthorpe
     [not found]                 ` <20170323200214.GA10344-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-03-24 13:49                   ` Leon Romanovsky
     [not found]                     ` <20170324134905.GE20443-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-03-24 18:09                       ` Jason Gunthorpe
     [not found]                         ` <20170324180914.GA13059-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-03-25  7:13                           ` Leon Romanovsky
     [not found]                             ` <20170325071326.GF20443-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-03-25  7:19                               ` Leon Romanovsky
2017-03-26 20:45                               ` 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.