X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;ds=sidebyside;f=lnet%2Finclude%2Fuapi%2Flinux%2Flnet%2Flnet-types.h;fp=lnet%2Finclude%2Fuapi%2Flinux%2Flnet%2Flnet-types.h;h=e6ee09f7154a7e1ca71e99adc71d898afaa7bcc9;hb=8fe28cfe925cc0266ba44c502a33d8ac6e5f4489;hp=8a48f4928110ea89bfc7bfa4f230d87bf83c66d5;hpb=6bf49037b3a1345877692a6ba6d92f579a8e2442;p=fs%2Flustre-release.git diff --git a/lnet/include/uapi/linux/lnet/lnet-types.h b/lnet/include/uapi/linux/lnet/lnet-types.h index 8a48f49..e6ee09f 100644 --- a/lnet/include/uapi/linux/lnet/lnet-types.h +++ b/lnet/include/uapi/linux/lnet/lnet-types.h @@ -328,28 +328,6 @@ struct lnet_ping_info { */ #define LNET_WIRE_HANDLE_COOKIE_NONE (-1) -struct lnet_handle_eq { - __u64 cookie; -}; - -/** - * Invalidate eq handle \a h. - */ -static inline void LNetInvalidateEQHandle(struct lnet_handle_eq *h) -{ - h->cookie = LNET_WIRE_HANDLE_COOKIE_NONE; -} - -/** - * Check whether eq handle \a h is invalid. - * - * \return 1 if handle is invalid, 0 if valid. - */ -static inline int LNetEQHandleIsInvalid(struct lnet_handle_eq h) -{ - return (LNET_WIRE_HANDLE_COOKIE_NONE == h.cookie); -} - struct lnet_handle_md { __u64 cookie; }; @@ -510,11 +488,10 @@ struct lnet_md { void *user_ptr; /** * A handle for the event queue used to log the operations performed on - * the memory region. If this argument is a NULL handle (i.e. nullified - * by LNetInvalidateHandle()), operations performed on this memory - * descriptor are not logged. + * the memory region. If this argument is a NULL handle operations + * performed on this memory descriptor are not logged. */ - struct lnet_handle_eq eq_handle; + struct lnet_eq *eq_handle; /** * The bulk MD handle which was registered to describe the buffers * either to be used to transfer data to the peer or receive data