1 /* SPDX-License-Identifier: GPL-2.0 */ 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 2 /* 3 * * Copyright (c) 2024, Oracle and/or its aff 3 * * Copyright (c) 2024, Oracle and/or its affiliates. 4 */ 4 */ 5 5 6 #ifndef _LINUX_SUNRPC_RDMA_RN_H 6 #ifndef _LINUX_SUNRPC_RDMA_RN_H 7 #define _LINUX_SUNRPC_RDMA_RN_H 7 #define _LINUX_SUNRPC_RDMA_RN_H 8 8 9 #include <rdma/ib_verbs.h> 9 #include <rdma/ib_verbs.h> 10 10 11 /** 11 /** 12 * rpcrdma_notification - request removal noti 12 * rpcrdma_notification - request removal notification 13 */ 13 */ 14 struct rpcrdma_notification { 14 struct rpcrdma_notification { 15 void (*rn_done)(str 15 void (*rn_done)(struct rpcrdma_notification *rn); 16 u32 rn_index; 16 u32 rn_index; 17 }; 17 }; 18 18 19 int rpcrdma_rn_register(struct ib_device *devi 19 int rpcrdma_rn_register(struct ib_device *device, 20 struct rpcrdma_notific 20 struct rpcrdma_notification *rn, 21 void (*done)(struct rp 21 void (*done)(struct rpcrdma_notification *rn)); 22 void rpcrdma_rn_unregister(struct ib_device *d 22 void rpcrdma_rn_unregister(struct ib_device *device, 23 struct rpcrdma_noti 23 struct rpcrdma_notification *rn); 24 int rpcrdma_ib_client_register(void); 24 int rpcrdma_ib_client_register(void); 25 void rpcrdma_ib_client_unregister(void); 25 void rpcrdma_ib_client_unregister(void); 26 26 27 #endif /* _LINUX_SUNRPC_RDMA_RN_H */ 27 #endif /* _LINUX_SUNRPC_RDMA_RN_H */ 28 28
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.