1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 3 * * Copyright (c) 2024, Oracle and/or its affiliates. 4 */ 5 6 #ifndef _LINUX_SUNRPC_RDMA_RN_H 7 #define _LINUX_SUNRPC_RDMA_RN_H 8 9 #include <rdma/ib_verbs.h> 10 11 /** 12 * rpcrdma_notification - request removal notification 13 */ 14 struct rpcrdma_notification { 15 void (*rn_done)(struct rpcrdma_notification *rn); 16 u32 rn_index; 17 }; 18 19 int rpcrdma_rn_register(struct ib_device *device, 20 struct rpcrdma_notification *rn, 21 void (*done)(struct rpcrdma_notification *rn)); 22 void rpcrdma_rn_unregister(struct ib_device *device, 23 struct rpcrdma_notification *rn); 24 int rpcrdma_ib_client_register(void); 25 void rpcrdma_ib_client_unregister(void); 26 27 #endif /* _LINUX_SUNRPC_RDMA_RN_H */ 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.