2 Commits

Author SHA1 Message Date
Ran Zhou
4a7be9bb67 Fix congest type flags error and replace a corrupt patch
Currently, there is a repeated judgement in check_qp_congest_type
whenever enable LDCP or HC3, the congest type flags all will be set
on LDCP.

This patch fixes this bug and replace a corrupt patch--0077, which
has a change that directly acts on patch but not code. This act
will disrupt the patch format.

Signed-off-by: Ran Zhou <zhouran10@h-partners.com>
2023-12-12 19:03:06 +08:00
Ran Zhou
626267239b Bugfix for lock and owner bit
Correct the return of error code, add init of pthread spinlock and mutex
judgement, remove a repeated init of pthread lock init, fix owner bit
when SQ wrqps.

Signed-off-by: Wenpeng Liang <liangwenpeng@huawei.com>
Signed-off-by: Chengchang Tang <tangchengchang@huawei.com
Signed-off-by: Ran Zhou <zhouran10@h-partners.com>
(cherry picked from commit 794f3792a7267d0586bfac7d67507a27a5e61305)
2023-12-07 19:10:53 +08:00