1 /* SPDX-License-Identifier: GPL-2.0 */
3 * * Copyright (c) 2024, Oracle and/or its affiliates.
6 #ifndef _LINUX_SUNRPC_RDMA_RN_H
7 #define _LINUX_SUNRPC_RDMA_RN_H
9 #include <rdma/ib_verbs.h>
12 * rpcrdma_notification - request removal notification
14 struct rpcrdma_notification {
15 void (*rn_done)(struct rpcrdma_notification *rn);
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);
27 #endif /* _LINUX_SUNRPC_RDMA_RN_H */