forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/infiniband/hw/i40iw/i40iw_verbs.h
....@@ -89,13 +89,11 @@
8989 union {
9090 struct ib_mr ibmr;
9191 struct ib_mw ibmw;
92
- struct ib_fmr ibfmr;
9392 };
9493 struct ib_umem *region;
9594 u16 type;
9695 u32 page_cnt;
97
- u32 page_size;
98
- u64 page_msk;
96
+ u64 page_size;
9997 u32 npages;
10098 u32 stag;
10199 u64 length;
....@@ -141,7 +139,7 @@
141139 struct i40iw_qp_host_ctx_info ctx_info;
142140 struct i40iwarp_offload_info iwarp_info;
143141 void *allocated_buffer;
144
- atomic_t refcount;
142
+ refcount_t refcount;
145143 struct iw_cm_id *cm_id;
146144 void *cm_node;
147145 struct ib_mr *lsmm_mr;
....@@ -176,5 +174,6 @@
176174 struct i40iw_dma_mem ietf_mem;
177175 struct completion sq_drained;
178176 struct completion rq_drained;
177
+ struct completion free_qp;
179178 };
180179 #endif