/* SPDX-License-Identifier: GPL-2.0 */ /* * Shared Memory Communications over RDMA (SMC-R) and RoCE * * Definitions for the SMC module (socket related) * * Copyright IBM Corp. 2016 * * Author(s): Ursula Braun <[email protected]> */ #ifndef _SMC_H #define _SMC_H #include <linux/device.h> #include <linux/spinlock.h> #include <linux/types.h> #include <linux/wait.h> #include "linux/ism.h" struct sock; #define SMC_MAX_PNETID_LEN … struct smc_hashinfo { … }; /* SMCD/ISM device driver interface */ struct smcd_dmb { … }; #define ISM_EVENT_DMB … #define ISM_EVENT_GID … #define ISM_EVENT_SWR … #define ISM_RESERVED_VLANID … #define ISM_ERROR … struct smcd_dev; struct smcd_gid { … }; struct smcd_ops { … }; struct smcd_dev { … }; #endif /* _SMC_H */