[PATCH V2 rdma-core] libhns: Update the size and member order of hns_roce_create_qp structure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: "Wei Hu (Xavier)" <xavier.huwei@xxxxxxxxxx>

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@xxxxxxxxxx>
Signed-off-by: Wei Hu (Xavier) <xavier.huwei@xxxxxxxxxx>
---
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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux