RFC libhns: Add support for Dynamic Context Attachment
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest5 patches 10 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | Update kernel headerskernel-headers/ | +64 | 0 replies | |
| 2/5 | libhns: Introduce DCA for RC QPproviders/ providers/ providers/ | +193 | 2 replies | |
| 3/5 | libhns: Add support for shrinking DCA memory poolproviders/ providers/ providers/ | +105 | 0 replies | |
| 4/5 | libhns: Add support for attaching QP's WQE bufferproviders/ providers/ providers/ +2 more | +332 | 0 replies | |
| 5/5 | libhns: Add support for configuring DCAlibibverbs/ libibverbs/ providers/ +1 more | +67 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH RFC rdma-core 0/5] libhns: Add support for Dynamic Context Attachment
The HIP09 introduces the DCA(Dynamic Context Attachment) feature which supports many RC QPs to share the WQE buffer in a memory pool. If a QP enables DCA feature, the WQE's buffer will not be allocated when creating but when the users start to post WRs. This will reduce the memory consumption when there are too many QPs are inactive.
Please note that we didn't find the right way to get user's configuration, so in #4 we still use environment variable to achieve this. We will be appreciated if anyone can provide some sugggestions.
This series is associated with the kernel series "RDMA/hns: Add support for Dynamic Context Attachment", you can review it at:
https://patchwork.kernel.org/project/linux-rdma/cover/[email protected]/
Weihang Li (1):
Update kernel headers
Xi Wang (4):
libhns: Introduce DCA for RC QP
libhns: Add support for shrinking DCA memory pool
libhns: Add support for attaching QP's WQE buffer
libhns: Add support for configuring DCA
kernel-headers/rdma/hns-abi.h | 64 +++++++ libibverbs/cmd_qp.c | 3 +- libibverbs/verbs.h | 1 + providers/hns/hns_roce_u.c | 89 +++++++++ providers/hns/hns_roce_u.h | 42 +++++ providers/hns/hns_roce_u_buf.c | 384 +++++++++++++++++++++++++++++++++++++++ providers/hns/hns_roce_u_hw_v2.c | 138 +++++++++++++- providers/hns/hns_roce_u_hw_v2.h | 7 + providers/hns/hns_roce_u_verbs.c | 44 ++++- 9 files changed, 754 insertions(+), 18 deletions(-)
Signature · 1 line
2.8.1