mbox series

[for-next,v3,0/5] RDMA/bnxt_re: Use variable size Work Queue entry for Gen P7 adapters

Message ID 1724042847-1481-1-git-send-email-selvin.xavier@broadcom.com (mailing list archive)
Headers show
Series RDMA/bnxt_re: Use variable size Work Queue entry for Gen P7 adapters | expand

Message

Selvin Xavier Aug. 19, 2024, 4:47 a.m. UTC
Enable the Variable size Work Queue entry support for Gen P7 adapters. This would
help in the better utilization of the queue memory and pci bandwidth due to the
smaller send queue Work entries.

Please review and apply.

Thanks,
Selvin Xavier

v2 -> v3:
  Fix a sparse error
	- Reported-by: kernel test robot <lkp@intel.com>
	- Closes: https://lore.kernel.org/oe-kbuild-all/202408181809.Sed4EJbs-lkp@intel.com/

  Split the patch 3 from v2 series  into two - a bug fix and functional change

v1 -> v2:
  Fixing the mail id of the signed-off in the commit message.
  No other functional changes



Selvin Xavier (5):
  RDMA/bnxt_re: Add support for Variable WQE in Genp7 adapters
  RDMA/bnxt_re: Get the WQE index from slot index while completing the
    WQEs
  RDMA/bnxt_re: Fix the table size for PSN/MSN entries
  RDMA/bnxt_re: Handle variable WQE support for user applications
  RDMA/bnxt_re: Enable variable size WQEs for user space applications

 drivers/infiniband/hw/bnxt_re/ib_verbs.c | 119 +++++++++++++++++++------------
 drivers/infiniband/hw/bnxt_re/ib_verbs.h |  16 ++++-
 drivers/infiniband/hw/bnxt_re/main.c     |  21 +++---
 drivers/infiniband/hw/bnxt_re/qplib_fp.c |  61 +++++++++++++---
 drivers/infiniband/hw/bnxt_re/qplib_fp.h |  24 ++++++-
 drivers/infiniband/hw/bnxt_re/qplib_sp.c |   7 +-
 drivers/infiniband/hw/bnxt_re/qplib_sp.h |   6 ++
 include/uapi/rdma/bnxt_re-abi.h          |   7 ++
 8 files changed, 188 insertions(+), 73 deletions(-)

Comments

Selvin Xavier Aug. 26, 2024, 4:38 a.m. UTC | #1
Hi Leon/Jason,
 Can you please review and merge these changes if you dont have any comments?

Thanks,
Selvin

On Mon, Aug 19, 2024 at 10:38 AM Selvin Xavier
<selvin.xavier@broadcom.com> wrote:
>
> Enable the Variable size Work Queue entry support for Gen P7 adapters. This would
> help in the better utilization of the queue memory and pci bandwidth due to the
> smaller send queue Work entries.
>
> Please review and apply.
>
> Thanks,
> Selvin Xavier
>
> v2 -> v3:
>   Fix a sparse error
>         - Reported-by: kernel test robot <lkp@intel.com>
>         - Closes: https://lore.kernel.org/oe-kbuild-all/202408181809.Sed4EJbs-lkp@intel.com/
>
>   Split the patch 3 from v2 series  into two - a bug fix and functional change
>
> v1 -> v2:
>   Fixing the mail id of the signed-off in the commit message.
>   No other functional changes
>
>
>
> Selvin Xavier (5):
>   RDMA/bnxt_re: Add support for Variable WQE in Genp7 adapters
>   RDMA/bnxt_re: Get the WQE index from slot index while completing the
>     WQEs
>   RDMA/bnxt_re: Fix the table size for PSN/MSN entries
>   RDMA/bnxt_re: Handle variable WQE support for user applications
>   RDMA/bnxt_re: Enable variable size WQEs for user space applications
>
>  drivers/infiniband/hw/bnxt_re/ib_verbs.c | 119 +++++++++++++++++++------------
>  drivers/infiniband/hw/bnxt_re/ib_verbs.h |  16 ++++-
>  drivers/infiniband/hw/bnxt_re/main.c     |  21 +++---
>  drivers/infiniband/hw/bnxt_re/qplib_fp.c |  61 +++++++++++++---
>  drivers/infiniband/hw/bnxt_re/qplib_fp.h |  24 ++++++-
>  drivers/infiniband/hw/bnxt_re/qplib_sp.c |   7 +-
>  drivers/infiniband/hw/bnxt_re/qplib_sp.h |   6 ++
>  include/uapi/rdma/bnxt_re-abi.h          |   7 ++
>  8 files changed, 188 insertions(+), 73 deletions(-)
>
> --
> 2.5.5
>
Jason Gunthorpe Aug. 27, 2024, 1:44 p.m. UTC | #2
On Sun, Aug 18, 2024 at 09:47:22PM -0700, Selvin Xavier wrote:

> Selvin Xavier (5):
>   RDMA/bnxt_re: Add support for Variable WQE in Genp7 adapters
>   RDMA/bnxt_re: Get the WQE index from slot index while completing the
>     WQEs
>   RDMA/bnxt_re: Fix the table size for PSN/MSN entries
>   RDMA/bnxt_re: Handle variable WQE support for user applications
>   RDMA/bnxt_re: Enable variable size WQEs for user space applications

Applied to for-next

Thanks,
Jason
Leon Romanovsky Aug. 27, 2024, 2:03 p.m. UTC | #3
On Sun, 18 Aug 2024 21:47:22 -0700, Selvin Xavier wrote:
> Enable the Variable size Work Queue entry support for Gen P7 adapters. This would
> help in the better utilization of the queue memory and pci bandwidth due to the
> smaller send queue Work entries.
> 
> Please review and apply.
> 
> Thanks,
> Selvin Xavier
> 
> [...]

Applied, thanks!

[1/5] RDMA/bnxt_re: Add support for Variable WQE in Genp7 adapters
      https://git.kernel.org/rdma/rdma/c/9ac691e5faab4f
[2/5] RDMA/bnxt_re: Get the WQE index from slot index while completing the WQEs
      https://git.kernel.org/rdma/rdma/c/be3b457400fc97
[3/5] RDMA/bnxt_re: Fix the table size for PSN/MSN entries
      https://git.kernel.org/rdma/rdma/c/8cca8cd8cb2898
[4/5] RDMA/bnxt_re: Handle variable WQE support for user applications
      https://git.kernel.org/rdma/rdma/c/e0e75e66109dd2
[5/5] RDMA/bnxt_re: Enable variable size WQEs for user space applications
      https://git.kernel.org/rdma/rdma/c/ca58eeb8b9e59c

Best regards,