Linux RDMA and InfiniBand development
 help / color / mirror / Atom feed
* [PATCH for-next 0/4] RDMA/erdma: Support non-contiguous kernel queue buffers
@ 2026-08-25 12:45 Cheng Xu
  2026-08-25 12:45 ` [PATCH for-next 1/4] RDMA/erdma: Support non-contiguous kernel QP buffers Cheng Xu
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Cheng Xu @ 2026-08-25 12:45 UTC (permalink / raw)
  To: jgg, leon; +Cc: linux-rdma, KaiShen

Hi,

This small patchset introduces support for non-contiguous kernel queue
buffers. Kernel QP and CQ buffers currently use a single coherent DMA
allocation, which can fail for large queues when memory is fragmented.
To address this, we allocate page-sized coherent buffers and describe
them with the existing MTT.

- #1 adds support for non-contiguous kernel QP buffers.
- #2 adds support for non-contiguous kernel CQ buffers.
- #3 unifies userspace and kernel space queue buffer management.
- #4 moves kernel QP helpers after the shared memory helpers.

Thanks,
Cheng Xu

Cheng Xu (4):
  RDMA/erdma: Support non-contiguous kernel QP buffers
  RDMA/erdma: Support non-contiguous kernel CQ buffers
  RDMA/erdma: Unify userspace and kernel queue buffer management
  RDMA/erdma: Move kernel QP helpers after memory helpers

 drivers/infiniband/hw/erdma/erdma_cq.c    |  19 +-
 drivers/infiniband/hw/erdma/erdma_qp.c    |  38 +-
 drivers/infiniband/hw/erdma/erdma_verbs.c | 579 +++++++++++++---------
 drivers/infiniband/hw/erdma/erdma_verbs.h |  64 ++-
 4 files changed, 420 insertions(+), 280 deletions(-)

-- 
2.31.1

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-08-27  7:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-25 12:45 [PATCH for-next 0/4] RDMA/erdma: Support non-contiguous kernel queue buffers Cheng Xu
2026-08-25 12:45 ` [PATCH for-next 1/4] RDMA/erdma: Support non-contiguous kernel QP buffers Cheng Xu
2026-08-25 12:45 ` [PATCH for-next 2/4] RDMA/erdma: Support non-contiguous kernel CQ buffers Cheng Xu
2026-08-25 12:45 ` [PATCH for-next 3/4] RDMA/erdma: Unify userspace and kernel queue buffer management Cheng Xu
2026-08-25 12:45 ` [PATCH for-next 4/4] RDMA/erdma: Move kernel QP helpers after memory helpers Cheng Xu
2026-08-27  7:51 ` [PATCH for-next 0/4] RDMA/erdma: Support non-contiguous kernel queue buffers Cheng Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox