On 2018/9/7 2:40, Jason Gunthorpe wrote: > On Thu, Sep 06, 2018 at 04:49:56PM +0800, Yixian Liu wrote: >> This patch adds memory window (mw) allocation support in >> the user space driver. >> >> Signed-off-by: Yixian Liu <liuyixian@xxxxxxxxxx> >> providers/hns/hns_roce_u.c | 1 + >> providers/hns/hns_roce_u.h | 2 ++ >> providers/hns/hns_roce_u_verbs.c | 19 +++++++++++++++++++ >> 3 files changed, 22 insertions(+) >> >> diff --git a/providers/hns/hns_roce_u.c b/providers/hns/hns_roce_u.c >> index 7536646..dd0e8fb 100644 >> +++ b/providers/hns/hns_roce_u.c >> @@ -75,6 +75,7 @@ static const struct verbs_context_ops hns_common_ops = { >> .query_qp = hns_roce_u_query_qp, >> .reg_mr = hns_roce_u_reg_mr, >> .rereg_mr = hns_roce_u_rereg_mr, >> + .alloc_mw = hns_roce_u_alloc_mw, >> }; > > This list is supposed to be sorted.. > > Jason > Thanks, will fix it next version.