X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Frdma%2Fib_verbs.h;h=6bbf1b364400568b283215e37b6e9bec776dd84b;hb=9464c7cf61b9433057924c36e6e02f303a00e768;hp=ee1f3a355666dbddaa388fc3d613bc329c24c9d3;hpb=41689045f6a3cbe0550e1d34e9cc20d2e8c432ba;p=linux-2.6.git diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h index ee1f3a355..6bbf1b364 100644 --- a/include/rdma/ib_verbs.h +++ b/include/rdma/ib_verbs.h @@ -260,8 +260,7 @@ enum ib_event_type { IB_EVENT_SM_CHANGE, IB_EVENT_SRQ_ERR, IB_EVENT_SRQ_LIMIT_REACHED, - IB_EVENT_QP_LAST_WQE_REACHED, - IB_EVENT_CLIENT_REREGISTER + IB_EVENT_QP_LAST_WQE_REACHED }; struct ib_event { @@ -697,12 +696,8 @@ struct ib_ucontext { struct ib_uobject { u64 user_handle; /* handle given to us by userspace */ struct ib_ucontext *context; /* associated user context */ - void *object; /* containing object */ struct list_head list; /* link to context's list */ u32 id; /* index into kernel idr */ - struct kref ref; - struct rw_semaphore mutex; /* protects .live */ - int live; }; struct ib_umem { @@ -832,7 +827,6 @@ struct ib_cache { struct ib_event_handler event_handler; struct ib_pkey_cache **pkey_cache; struct ib_gid_cache **gid_cache; - u8 *lmc_cache; }; struct ib_device { @@ -1091,20 +1085,6 @@ int ib_dealloc_pd(struct ib_pd *pd); */ struct ib_ah *ib_create_ah(struct ib_pd *pd, struct ib_ah_attr *ah_attr); -/** - * ib_init_ah_from_wc - Initializes address handle attributes from a - * work completion. - * @device: Device on which the received message arrived. - * @port_num: Port on which the received message arrived. - * @wc: Work completion associated with the received message. - * @grh: References the received global route header. This parameter is - * ignored unless the work completion indicates that the GRH is valid. - * @ah_attr: Returned attributes that can be used when creating an address - * handle for replying to the message. - */ -int ib_init_ah_from_wc(struct ib_device *device, u8 port_num, struct ib_wc *wc, - struct ib_grh *grh, struct ib_ah_attr *ah_attr); - /** * ib_create_ah_from_wc - Creates an address handle associated with the * sender of the specified work completion.