mbox series

[for-next,0/6] RDMA/bnxt_re: driver update for supporting low latency push

Message ID 1681125115-7127-1-git-send-email-selvin.xavier@broadcom.com (mailing list archive)
Headers show
Series RDMA/bnxt_re: driver update for supporting low latency push | expand

Message

Selvin Xavier April 10, 2023, 11:11 a.m. UTC
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 added in the pull request
https://github.com/linux-rdma/rdma-core/pull/1321

Please review.

Thanks,
Selvin Xavier

Selvin Xavier (6):
  RDMA/bnxt_re: Use the common mmap helper functions
  RDMA/bnxt_re: Add disassociate ucontext support
  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/ib_verbs.c   | 160 +++++++++++++++++++++---
 drivers/infiniband/hw/bnxt_re/ib_verbs.h   |  17 +++
 drivers/infiniband/hw/bnxt_re/main.c       | 123 +++++++++++++++++-
 drivers/infiniband/hw/bnxt_re/qplib_fp.c   |  14 +--
 drivers/infiniband/hw/bnxt_re/qplib_rcfw.c |   2 +-
 drivers/infiniband/hw/bnxt_re/qplib_rcfw.h |   1 +
 drivers/infiniband/hw/bnxt_re/qplib_res.c  | 192 +++++++++++++++++++----------
 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            |   9 ++
 11 files changed, 449 insertions(+), 106 deletions(-)

Comments

Leon Romanovsky April 10, 2023, 12:32 p.m. UTC | #1
On Mon, Apr 10, 2023 at 04:11:49AM -0700, Selvin Xavier wrote:
> 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. 

What does it mean "low latency push"?

Thanks

> 
> User library changes are added in the pull request
> https://github.com/linux-rdma/rdma-core/pull/1321
> 
> Please review.
> 
> Thanks,
> Selvin Xavier
> 
> Selvin Xavier (6):
>   RDMA/bnxt_re: Use the common mmap helper functions
>   RDMA/bnxt_re: Add disassociate ucontext support
>   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/ib_verbs.c   | 160 +++++++++++++++++++++---
>  drivers/infiniband/hw/bnxt_re/ib_verbs.h   |  17 +++
>  drivers/infiniband/hw/bnxt_re/main.c       | 123 +++++++++++++++++-
>  drivers/infiniband/hw/bnxt_re/qplib_fp.c   |  14 +--
>  drivers/infiniband/hw/bnxt_re/qplib_rcfw.c |   2 +-
>  drivers/infiniband/hw/bnxt_re/qplib_rcfw.h |   1 +
>  drivers/infiniband/hw/bnxt_re/qplib_res.c  | 192 +++++++++++++++++++----------
>  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            |   9 ++
>  11 files changed, 449 insertions(+), 106 deletions(-)
> 
> -- 
> 2.5.5
>
Selvin Xavier April 11, 2023, 2:29 a.m. UTC | #2
On Mon, Apr 10, 2023 at 6:02 PM Leon Romanovsky <leon@kernel.org> wrote:
>
> On Mon, Apr 10, 2023 at 04:11:49AM -0700, Selvin Xavier wrote:
> > 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.
>
> What does it mean "low latency push"?

It is a hardware channel that can be used for transmitting smaller
buffers (<=96 bytes) with lower latency. This is by pushing the data
to HW buffers directly from the host (instead of DMA by the HW to get
the data to be transmitted). Hence the name "low latency push".
>
> Thanks
>
> >
> > User library changes are added in the pull request
> > https://github.com/linux-rdma/rdma-core/pull/1321
> >
> > Please review.
> >
> > Thanks,
> > Selvin Xavier
> >
> > Selvin Xavier (6):
> >   RDMA/bnxt_re: Use the common mmap helper functions
> >   RDMA/bnxt_re: Add disassociate ucontext support
> >   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/ib_verbs.c   | 160 +++++++++++++++++++++---
> >  drivers/infiniband/hw/bnxt_re/ib_verbs.h   |  17 +++
> >  drivers/infiniband/hw/bnxt_re/main.c       | 123 +++++++++++++++++-
> >  drivers/infiniband/hw/bnxt_re/qplib_fp.c   |  14 +--
> >  drivers/infiniband/hw/bnxt_re/qplib_rcfw.c |   2 +-
> >  drivers/infiniband/hw/bnxt_re/qplib_rcfw.h |   1 +
> >  drivers/infiniband/hw/bnxt_re/qplib_res.c  | 192 +++++++++++++++++++----------
> >  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            |   9 ++
> >  11 files changed, 449 insertions(+), 106 deletions(-)
> >
> > --
> > 2.5.5
> >
>
>