Merge tag 'xtensa-20180225' of git://github.com/jcmvbkbc/linux-xtensa
[cris-mirror.git] / include / uapi / linux / smc.h
blob0e11ca421ca49344fd03763c3123f44bfed2c970
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 /*
3 * Shared Memory Communications over RDMA (SMC-R) and RoCE
5 * Definitions for generic netlink based configuration of an SMC-R PNET table
7 * Copyright IBM Corp. 2016
9 * Author(s): Thomas Richter <tmricht@linux.vnet.ibm.com>
12 #ifndef _UAPI_LINUX_SMC_H_
13 #define _UAPI_LINUX_SMC_H_
15 /* Netlink SMC_PNETID attributes */
16 enum {
17 SMC_PNETID_UNSPEC,
18 SMC_PNETID_NAME,
19 SMC_PNETID_ETHNAME,
20 SMC_PNETID_IBNAME,
21 SMC_PNETID_IBPORT,
22 __SMC_PNETID_MAX,
23 SMC_PNETID_MAX = __SMC_PNETID_MAX - 1
26 enum { /* SMC PNET Table commands */
27 SMC_PNETID_GET = 1,
28 SMC_PNETID_ADD,
29 SMC_PNETID_DEL,
30 SMC_PNETID_FLUSH
33 #define SMCR_GENL_FAMILY_NAME "SMC_PNETID"
34 #define SMCR_GENL_FAMILY_VERSION 1
36 #endif /* _UAPI_LINUX_SMC_H */