Loading
!5905 [OLK 5.10] RDMA/hns: Fix incorrect iteration number of DCA umem sg...
!5905 [OLK 5.10] RDMA/hns: Fix incorrect iteration number of DCA umem sg entries and error return in hns_roce_v2_modify_srq() Merge Pull Request from: @ZachXue Fix bugs: - Fix incorrect iteration number of DCA umem sg entries. Use the entry number returned by IOMMU to set the maximum iteration number of DCA umem sg entries to fix this problem, instead of the originally allocated number. - fix error return in hns_roce_v2_modify_srq(). When none of the conditions of the 'if' block are met, 0 should be returned instead of -EOPNOTSUPP. Link:https://gitee.com/openeuler/kernel/pulls/5905 Reviewed-by:Chengchang Tang <tangchengchang@huawei.com> Signed-off-by:
Jialin Zhang <zhangjialin11@huawei.com>