Skip to content

RDMA/bnxt_re: driver update for supporting low latency push

Selvin Xavier linux-rdma 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest7 patches 4 repliesIn review
  2. v57 patches 7 repliesSuperseded
  3. v46 patches 2 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v36 patches1 replySuperseded
v26 patches1 replySuperseded
v16 patches10 repliesSuperseded

Changes in v6 from the cover letter

- Use rdma_user_mmap_entry_insert_exact in case of a hardcoded mmap offset for the shared page in patch 1
- Rebase the patches based on the above change
- Remove unnecessary blank space from patch 7

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7RDMA/bnxt_re: Use the common mmap helper functionsdrivers/infiniband/hw/bnxt_re/ib_verbs.c drivers/infiniband/hw/bnxt_re/ib_verbs.h drivers/infiniband/hw/bnxt_re/main.c +1 more+119 -240 replies
2/7RDMA/bnxt_re: Add disassociate ucontext supportdrivers/infiniband/hw/bnxt_re/main.c+5 -00 replies
3/7RDMA/bnxt_re: Optimize the bnxt_re_init_hwrm_hdr usagedrivers/infiniband/hw/bnxt_re/main.c+19 -290 replies
4/7RDMA/bnxt_re: Query function capabilities from firmwaredrivers/infiniband/hw/bnxt_re/main.c+21 -00 replies
5/7RDMA/bnxt_re: Move the interface version to chip context structuredrivers/infiniband/hw/bnxt_re/main.c drivers/infiniband/hw/bnxt_re/qplib_res.h+2 -20 replies
6/7RDMA/bnxt_re: Reorg the bar mappingdrivers/infiniband/hw/bnxt_re/ib_verbs.c drivers/infiniband/hw/bnxt_re/main.c drivers/infiniband/hw/bnxt_re/qplib_fp.c +5 more+213 -770 replies
7/7RDMA/bnxt_re: Enable low latency pushdrivers/infiniband/hw/bnxt_re/bnxt_re.h drivers/infiniband/hw/bnxt_re/ib_verbs.c drivers/infiniband/hw/bnxt_re/ib_verbs.h +4 more+204 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v6 yet.

Read the v6 thread

Cover letter [PATCH v6 for-next 0/7] RDMA/bnxt_re: driver update for supporting low latency push

The series aims to add support for Low latency push path in some of the bnxt devices. The low latency implementation is supported only for the user applications. Also, the code is modified to use common mmap helper functions exported by IB core.

User library changes are in the pull request
https://github.com/linux-rdma/rdma-core/pull/1321

Please review and apply

Thanks,
Selvin Xavier

v5 -> v6:
- Use rdma_user_mmap_entry_insert_exact in case of a hardcoded mmap offset for the shared page in patch 1
- Rebase the patches based on the above change
- Remove unnecessary blank space from patch 7

v4 -> v5:
- Added patch 3 to optimize bnxt_re_init_hwrm_hdr parameters
- Avoid memset from the callers of bnxt_re_init_hwrm_hdr
- Rebased the patches to the latest from leon-for-next

v3-> v4:
- Remove the newly added comp_mask in the alloc_pd resp. This is not required after using the new UAPI mechanism.
- Return -EINVAL if WC page mmap requested for an unsupported adapter.

v2-> v3:
- Rebasing after the merge window
- Fix the return value check in bnxt_re_hwrm_qcfg

v1 - v2:
- Fixes the review comments from Leon and Jason
- As suggested by Jason, implements the new uapi driver definitions for allocating pages in the driver and return the cookie for mmap

Selvin Xavier (7):
RDMA/bnxt_re: Use the common mmap helper functions RDMA/bnxt_re: Add disassociate ucontext support RDMA/bnxt_re: Optimize the bnxt_re_init_hwrm_hdr usage RDMA/bnxt_re: Query function capabilities from firmware RDMA/bnxt_re: Move the interface version to chip context structure RDMA/bnxt_re: Reorg the bar mapping
RDMA/bnxt_re: Enable low latency push

 drivers/infiniband/hw/bnxt_re/bnxt_re.h    |   3 +
 drivers/infiniband/hw/bnxt_re/ib_verbs.c   | 276 ++++++++++++++++++++++++++---
 drivers/infiniband/hw/bnxt_re/ib_verbs.h   |  19 ++
 drivers/infiniband/hw/bnxt_re/main.c       | 162 +++++++++++++----
 drivers/infiniband/hw/bnxt_re/qplib_fp.c   |   4 +-
 drivers/infiniband/hw/bnxt_re/qplib_rcfw.h |   2 +
 drivers/infiniband/hw/bnxt_re/qplib_res.c  | 177 +++++++++++-------
 drivers/infiniband/hw/bnxt_re/qplib_res.h  |  33 +++-
 drivers/infiniband/hw/bnxt_re/qplib_sp.c   |   3 +
 drivers/infiniband/hw/bnxt_re/qplib_sp.h   |   1 +
 include/uapi/rdma/bnxt_re-abi.h            |  27 +++
 11 files changed, 577 insertions(+), 130 deletions(-)
Signature · 1 line
2.5.5