RDMA/erdma: Introduce dma pool for hardware responses of CMDQ requests
authorCheng Xu <chengyou@linux.alibaba.com>
Wed, 27 Dec 2023 08:47:59 +0000 (16:47 +0800)
committerLeon Romanovsky <leon@kernel.org>
Sat, 30 Dec 2023 15:23:17 +0000 (17:23 +0200)
commit68cf9d82f75c07d4117bca8129a770efa9d89f62
tree658edf0ee6d6b2ed7ff180b475f81bb2ce2cfa03
parentd42fafb895246e3f5a5e0f83e7485167fa651f5c
RDMA/erdma: Introduce dma pool for hardware responses of CMDQ requests

Hardware response, such as the result of query statistics, may be too
long to be directly accommodated within the CQE structure. To address
this, we introduce a DMA pool to hold the hardware's responses of CMDQ
requests.

Signed-off-by: Cheng Xu <chengyou@linux.alibaba.com>
Link: https://lore.kernel.org/r/20231227084800.99091-2-chengyou@linux.alibaba.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/erdma/erdma.h
drivers/infiniband/hw/erdma/erdma_hw.h
drivers/infiniband/hw/erdma/erdma_main.c