Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libhns: Fix possible overflow in cq clean
The ci/pi of hns roce cq allows data to be flipped. but in __hns_roce_v2_cq_clean(), this flip may lead to an wrong number of loops. This patch fixes it by extending the data type to avoid data flipping. Fixes: 6fe30a1 ("libhns: Introduce QP operations referred to hip08 RoCE device") Signed-off-by: Chengchang Tang <[email protected]> Signed-off-by: Junxian Huang <[email protected]>
- Loading branch information