]> Git Repo - J-linux.git/blob - include/linux/sunrpc/rdma_rn.h
Merge tag 'apparmor-pr-2024-07-25' of git://git.kernel.org/pub/scm/linux/kernel/git...
[J-linux.git] / include / linux / sunrpc / rdma_rn.h
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 */
This page took 0.02948 seconds and 4 git commands to generate.