RDMA/hns: Add support for addressing when hopnum is 0
driver inclusion category: bugfix bugzilla: NA CVE: NA Wraps the public logic as 3 functions: hns_roce_mtr_create(), hns_roce_mtr_destroy() and hns_roce_mtr_map() to support hopnum ranges from 0 to 3. In addition, makes the mtr interfaces easier to use. Signed-off-by: NXi Wang <wangxi11@huawei.com> Signed-off-by: NShunfeng Yang <yangshunfeng2@huawei.com> Reviewed-by: Nchunzhi hu <huchunzhi@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录