Linux RDMA and InfiniBand development
 help / color / mirror / Atom feed
* [PATCH V2 rdma-core] libhns: Update the size and member order of hns_roce_create_qp structure
@ 2017-10-01 20:17 Wei Hu (Xavier)
       [not found] ` <1506889029-25168-1-git-send-email-xavier.huwei-WVlzvzqoTvw@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Wei Hu (Xavier) @ 2017-10-01 20:17 UTC (permalink / raw)
  To: leon-DgEjT+Ai2ygdnm+yROfE0A, dledford-H+wXaHxf7aLQT0dZR+AlfA
  Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA, oulijun-hv44wF8Li93QT0dZR+AlfA,
	xavier.huwei-hv44wF8Li93QT0dZR+AlfA,
	haifeng.wei-hv44wF8Li93QT0dZR+AlfA,
	charles.chenxin-hv44wF8Li93QT0dZR+AlfA, xavier.huwei-WVlzvzqoTvw

From: "Wei Hu (Xavier)" <xavier.huwei-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>

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-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
Signed-off-by: Wei Hu (Xavier) <xavier.huwei-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
---
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(+)

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];
 };
 
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-10-02  5:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-01 20:17 [PATCH V2 rdma-core] libhns: Update the size and member order of hns_roce_create_qp structure Wei Hu (Xavier)
     [not found] ` <1506889029-25168-1-git-send-email-xavier.huwei-WVlzvzqoTvw@public.gmane.org>
2017-10-02  5:51   ` Leon Romanovsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox