Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1741169

[PATCH for-next 8/9] RDMA/hns: Remove unused struct members in hns-abi.h

From "Wei Hu (Xavier)" <xavier.huwei@huawei.com>
Newsgroups linux.kernel
Subject [PATCH for-next 8/9] RDMA/hns: Remove unused struct members in hns-abi.h
Date 2017-09-28 06:40 +0200
Message-ID <uuyM9-4cw-1@gated-at.bofh.it> (permalink)
References <uuyCt-49t-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Lijun Ou <oulijun@huawei.com>

This patch mainly deletes some unused struct members for
hns_roce_ib_create_qp in order to match libhns, because
the num of struct members of hns_roce_ib_create_qp must
be the same with hns_roce_create_qp in libhns.

Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
Signed-off-by: Shaobo Xu <xushaobo2@huawei.com>
---
 include/uapi/rdma/hns-abi.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/include/uapi/rdma/hns-abi.h b/include/uapi/rdma/hns-abi.h
index 5d74019..79251b6 100644
--- a/include/uapi/rdma/hns-abi.h
+++ b/include/uapi/rdma/hns-abi.h
@@ -41,10 +41,8 @@ struct hns_roce_ib_create_cq {
 
 struct hns_roce_ib_create_qp {
 	__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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH for-next 8/9] RDMA/hns: Remove unused struct members in hns-abi.h "Wei Hu (Xavier)" <xavier.huwei@huawei.com> - 2017-09-28 06:40 +0200
  Re: [PATCH for-next 8/9] RDMA/hns: Remove unused struct members in  hns-abi.h Leon Romanovsky <leon@kernel.org> - 2017-09-28 11:10 +0200
    Re: [PATCH for-next 8/9] RDMA/hns: Remove unused struct members in  hns-abi.h "Wei Hu (Xavier)" <xavier.huwei@huawei.com> - 2017-09-28 14:00 +0200
      Re: [PATCH for-next 8/9] RDMA/hns: Remove unused struct members in  hns-abi.h Leon Romanovsky <leon@kernel.org> - 2017-09-28 15:10 +0200
        Re: [PATCH for-next 8/9] RDMA/hns: Remove unused struct members in  hns-abi.h "Wei Hu (Xavier)" <xavier.huwei@tom.com> - 2017-09-28 18:20 +0200

csiph-web