mbox series

[for-next,v2,0/3] RDMA/erdma: Add atomic operations support

Message ID 20221107021845.44598-1-chengyou@linux.alibaba.com (mailing list archive)
Headers show
Series RDMA/erdma: Add atomic operations support | expand

Message

Cheng Xu Nov. 7, 2022, 2:18 a.m. UTC
Hi,

This series introcuces atomic operations support for erdma driver:
- #1 extends access rights field in FRMR and REG MR commands to support
  IB_ACCESS_REMOTE_ATOMIC.
- #2 gets atomic capacity from hardware, and reports the cap to core.
- #3 implements the IO-path of atomic WR processing.

v2:
- Fix static analyzer check errors.

Thanks,
Cheng Xu

Cheng Xu (3):
  RDMA/erdma: Extend access right field of FRMR and REG MR to support
    atomic
  RDMA/erdma: Report atomic capacity when hardware supports atomic
    feature
  RDMA/erdma: Implement atomic operations support

 drivers/infiniband/hw/erdma/erdma.h       |  1 +
 drivers/infiniband/hw/erdma/erdma_cq.c    |  2 ++
 drivers/infiniband/hw/erdma/erdma_hw.h    | 29 +++++++++++----
 drivers/infiniband/hw/erdma/erdma_main.c  |  1 +
 drivers/infiniband/hw/erdma/erdma_qp.c    | 43 +++++++++++++++++++----
 drivers/infiniband/hw/erdma/erdma_verbs.c |  7 ++--
 drivers/infiniband/hw/erdma/erdma_verbs.h | 12 ++++---
 7 files changed, 74 insertions(+), 21 deletions(-)

Comments

Leon Romanovsky Nov. 7, 2022, 8:01 a.m. UTC | #1
On Mon, 7 Nov 2022 10:18:42 +0800, Cheng Xu wrote:
> This series introcuces atomic operations support for erdma driver:
> - #1 extends access rights field in FRMR and REG MR commands to support
>   IB_ACCESS_REMOTE_ATOMIC.
> - #2 gets atomic capacity from hardware, and reports the cap to core.
> - #3 implements the IO-path of atomic WR processing.
> 
> v2:
> - Fix static analyzer check errors.
> 
> [...]

Applied, thanks!

[1/3] RDMA/erdma: Extend access right field of FRMR and REG MR to support atomic
      https://git.kernel.org/rdma/rdma/c/ece43fad220ba0
[2/3] RDMA/erdma: Report atomic capacity when hardware supports atomic feature
      https://git.kernel.org/rdma/rdma/c/71c6925f280ae8
[3/3] RDMA/erdma: Implement atomic operations support
      https://git.kernel.org/rdma/rdma/c/0ca9c2e2844aa2

Best regards,