/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * Shared Memory Communications over RDMA (SMC-R) and RoCE * * Definitions for generic netlink based configuration of an SMC-R PNET table * * Copyright IBM Corp. 2016 * * Author(s): Thomas Richter <[email protected]> */ #ifndef _UAPI_LINUX_SMC_H_ #define _UAPI_LINUX_SMC_H_ /* Netlink SMC_PNETID attributes */ enum { … }; enum { … }; #define SMCR_GENL_FAMILY_NAME … #define SMCR_GENL_FAMILY_VERSION … /* gennetlink interface to access non-socket information from SMC module */ #define SMC_GENL_FAMILY_NAME … #define SMC_GENL_FAMILY_VERSION … #define SMC_PCI_ID_STR_LEN … #define SMC_MAX_HOSTNAME_LEN … #define SMC_MAX_UEID … #define SMC_MAX_EID_LEN … /* SMC_GENL_FAMILY commands */ enum { … }; /* SMC_GENL_FAMILY top level attributes */ enum { … }; /* SMC_GEN_SYS_INFO attributes */ enum { … }; /* SMC_NLA_LGR_D_V2_COMMON and SMC_NLA_LGR_R_V2_COMMON nested attributes */ enum { … }; /* SMC_NLA_LGR_R_V2 nested attributes */ enum { … }; /* SMC_GEN_LGR_SMCR attributes */ enum { … }; /* SMC_GEN_LINK_SMCR attributes */ enum { … }; /* SMC_GEN_LGR_SMCD attributes */ enum { … }; /* SMC_NLA_DEV_PORT nested attributes */ enum { … }; /* SMC_GEN_DEV_SMCD and SMC_GEN_DEV_SMCR attributes */ enum { … }; /* SMC_NLA_STATS_T_TX(RX)_RMB_SIZE nested attributes */ /* SMC_NLA_STATS_TX(RX)PLOAD_SIZE nested attributes */ enum { … }; /* SMC_NLA_STATS_T_TX(RX)_RMB_STATS nested attributes */ enum { … }; /* SMC_NLA_STATS_SMCD_TECH and _SMCR_TECH nested attributes */ enum { … }; /* SMC_GEN_STATS attributes */ enum { … }; /* SMC_GEN_FBACK_STATS attributes */ enum { … }; /* SMC_NETLINK_UEID attributes */ enum { … }; /* SMC_NETLINK_SEID attributes */ enum { … }; /* SMC_NETLINK_HS_LIMITATION attributes */ enum { … }; /* SMC socket options */ #define SMC_LIMIT_HS … #endif /* _UAPI_LINUX_SMC_H */