Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libhns: Fix missing fields for SRQ WC
[ Upstream commit 65a7ce9 ] The sl and src_qpn fields in recv-WC are not filled when the QP is UD and has an SRQ. Here fix it. In addition, UD QP does not support RQ INLINE and CQE INLINE features. Reorder the related if-else statements to reduce the number of conditional checks in IO path. Fixes: 061f7e1 ("libhns: Refactor the poll one interface") Signed-off-by: wenglianfa <wenglianfa@huawei.com> Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com> Signed-off-by: Nicolas Morey <nmorey@suse.com>
- Loading branch information