2 Commits

Author SHA1 Message Date
Ran Zhou
e56042b4e2 Support reporting wc as software mode.
When HW is in resetting stage, we could not poll back all the
expected work completions as the HW won't generate cqe anymore.
This patch allows driver to compose the expected wc instead of the HW
during resetting stage. Once the hardware finished resetting, we can
poll cq from hardware again.

Signed-off-by: Ran Zhou <zhouran10@h-partners.com>
(cherry picked from commit 5494e44cf97e65d858c8f7376c0424a833dc8323)
2024-03-28 20:21:14 +08:00
Ran Zhou
5e22b65799 Backport congestion control from mainline
Add support for configuration of congestion control algorithms in QP
granularity with direct verbs hnsdv_create_qp().

Reference: https://github.com/linux-rdma/rdma-core/pull/1426/commits

Signed-off-by: Ran Zhou <zhouran10@h-partners.com>
(cherry picked from commit f4a8396bcf41ea12bf3e7b73793e60bfba097377)
2024-03-15 17:17:10 +08:00