Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libhns: Add general error type for CQE
If a Work Request posted in an RQ of UD QP isn't big enough for holding the incoming message, then the hns ROCEE will generate a general error CQE. The IB specification does not specify this type of CQE. In the case of unreliable communication, it is not desirable to change the QP to an error state due to an insufficient receive length error. So If the hns ROCEE reports a general error CQE, it's no need to set the QP to an error state, and the driver should skip it. Signed-off-by: Youming Luo <luoyouming@huawei.com> Signed-off-by: Wenpeng Liang <liangwenpeng@huawei.com>
- Loading branch information