File Index
Files and directories
Sign in
FILE

rdma_rn.h

File preview with syntax highlighting.

linux-6.19.14/include/linux/sunrpc/rdma_rn.h C
 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 */
14struct rpcrdma_notification {
15	void			(*rn_done)(struct rpcrdma_notification *rn);
16	u32			rn_index;
17};
18
19int rpcrdma_rn_register(struct ib_device *device,
20			struct rpcrdma_notification *rn,
21			void (*done)(struct rpcrdma_notification *rn));
22void rpcrdma_rn_unregister(struct ib_device *device,
23			   struct rpcrdma_notification *rn);
24int rpcrdma_ib_client_register(void);
25void rpcrdma_ib_client_unregister(void);
26
27#endif /* _LINUX_SUNRPC_RDMA_RN_H */
~/ Read-only file preview.