Message ID | 1506889029-25168-1-git-send-email-xavier.huwei@tom.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
On Mon, Oct 02, 2017 at 04:17:09AM +0800, Wei Hu (Xavier) wrote: > From: "Wei Hu (Xavier)" <xavier.huwei@huawei.com> > > In order to keep the size and member order with the > hns_roce_ib_create_qp sturcture of the kernel driver, > it needs to update hns_roce_create_qp's structure > members. Otherwise, it will run fail. > > Signed-off-by: Lijun Ou <oulijun@huawei.com> > Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com> > --- > Patch V2: Address comments by Jason: > https://patchwork.kernel.org/patch/9979299/ > > Patch V1: Initial Submit > --- > providers/hns/hns_roce_u_abi.h | 2 ++ > 1 file changed, 2 insertions(+) > Thanks, applied and completely rewrote the commit message.
diff --git a/providers/hns/hns_roce_u_abi.h b/providers/hns/hns_roce_u_abi.h index e78f967..2a57f46 100644 --- a/providers/hns/hns_roce_u_abi.h +++ b/providers/hns/hns_roce_u_abi.h @@ -61,8 +61,10 @@ struct hns_roce_create_cq_resp { struct hns_roce_create_qp { struct ibv_create_qp ibv_cmd; __u64 buf_addr; + __u64 db_addr; __u8 log_sq_bb_count; __u8 log_sq_stride; + __u8 sq_no_prefetch; __u8 reserved[5]; };