mbox series

[for-next,v3,0/3] RDMA/erdma: erdma updates

Message ID 20240902112920.58749-1-chengyou@linux.alibaba.com (mailing list archive)
Headers show
Series RDMA/erdma: erdma updates | expand

Message

Cheng Xu Sept. 2, 2024, 11:29 a.m. UTC
Hi,

This series has some updates for erdma driver:
- #1 refactors the initialization and destruction process of EQ to
  make the code cleaner.
- #2 adds disassociate ucontext support.
- #3 returns QP state in erdma_query_qp.

v3:
- Remove patch "RDMA/erdma: Make the device probe process more robust"
  for internal discussion.
- Remove __GFP_ZERO flags when calling dma_alloc_coherent in patch #1.
- Eliminate __GFP_ZERO by calling dma_pool_zalloc instead of
  dma_pool_alloc in patch #1.

v2:
- Remove unsed erdma_aeq_destroy.

Thanks,
Cheng Xu

Cheng Xu (3):
  RDMA/erdma: Refactor the initialization and destruction of EQ
  RDMA/erdma: Add disassociate ucontext support
  RDMA/erdma: Return QP state in erdma_query_qp

 drivers/infiniband/hw/erdma/erdma.h       |  3 +-
 drivers/infiniband/hw/erdma/erdma_cmdq.c  | 26 ++-----
 drivers/infiniband/hw/erdma/erdma_eq.c    | 87 +++++++++++------------
 drivers/infiniband/hw/erdma/erdma_main.c  |  5 +-
 drivers/infiniband/hw/erdma/erdma_verbs.c | 29 +++++++-
 drivers/infiniband/hw/erdma/erdma_verbs.h |  1 +
 6 files changed, 81 insertions(+), 70 deletions(-)

Comments

Leon Romanovsky Sept. 4, 2024, 7:50 a.m. UTC | #1
On Mon, 02 Sep 2024 19:29:17 +0800, Cheng Xu wrote:
> This series has some updates for erdma driver:
> - #1 refactors the initialization and destruction process of EQ to
>   make the code cleaner.
> - #2 adds disassociate ucontext support.
> - #3 returns QP state in erdma_query_qp.
> 
> v3:
> - Remove patch "RDMA/erdma: Make the device probe process more robust"
>   for internal discussion.
> - Remove __GFP_ZERO flags when calling dma_alloc_coherent in patch #1.
> - Eliminate __GFP_ZERO by calling dma_pool_zalloc instead of
>   dma_pool_alloc in patch #1.
> 
> [...]

Applied, thanks!

[1/3] RDMA/erdma: Refactor the initialization and destruction of EQ
      https://git.kernel.org/rdma/rdma/c/2ffc67aeb99105
[2/3] RDMA/erdma: Add disassociate ucontext support
      https://git.kernel.org/rdma/rdma/c/05572fa5268ec6
[3/3] RDMA/erdma: Return QP state in erdma_query_qp
      https://git.kernel.org/rdma/rdma/c/cf2840f59119f4

Best regards,