Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
28 lines
709 B
C
28 lines
709 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* * Copyright (c) 2024, Oracle and/or its affiliates.
|
|
*/
|
|
|
|
#ifndef _LINUX_SUNRPC_RDMA_RN_H
|
|
#define _LINUX_SUNRPC_RDMA_RN_H
|
|
|
|
#include <rdma/ib_verbs.h>
|
|
|
|
/**
|
|
* rpcrdma_notification - request removal notification
|
|
*/
|
|
struct rpcrdma_notification {
|
|
void (*rn_done)(struct rpcrdma_notification *rn);
|
|
u32 rn_index;
|
|
};
|
|
|
|
int rpcrdma_rn_register(struct ib_device *device,
|
|
struct rpcrdma_notification *rn,
|
|
void (*done)(struct rpcrdma_notification *rn));
|
|
void rpcrdma_rn_unregister(struct ib_device *device,
|
|
struct rpcrdma_notification *rn);
|
|
int rpcrdma_ib_client_register(void);
|
|
void rpcrdma_ib_client_unregister(void);
|
|
|
|
#endif /* _LINUX_SUNRPC_RDMA_RN_H */
|