summaryrefslogtreecommitdiffstats
path: root/net/smc/smc.h
diff options
context:
space:
mode:
authorUrsula Braun <ubraun@linux.ibm.com>2020-09-26 12:44:23 +0200
committerDavid S. Miller <davem@davemloft.net>2020-09-29 00:19:02 +0200
commit3fc6493761372c5f6ff84d407c58948b8f2ee360 (patch)
treecda77cd4ea341fde84a3ec0b9e5faab34b96e7c1 /net/smc/smc.h
parentnet/smc: split CLC confirm/accept data to be sent (diff)
downloadlinux-3fc6493761372c5f6ff84d407c58948b8f2ee360.tar.xz
linux-3fc6493761372c5f6ff84d407c58948b8f2ee360.zip
net/smc: prepare for more proposed ISM devices
SMCD Version 2 allows proposing of up to 8 ISM devices in addition to the native ISM device of SMCD Version 1. This patch prepares the struct smc_init_info to deal with these additional 8 ISM devices. Signed-off-by: Ursula Braun <ubraun@linux.ibm.com> Signed-off-by: Karsten Graul <kgraul@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/smc/smc.h')
-rw-r--r--net/smc/smc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/smc/smc.h b/net/smc/smc.h
index 2bd57e57b7e7..6c89cb80860b 100644
--- a/net/smc/smc.h
+++ b/net/smc/smc.h
@@ -23,6 +23,10 @@
#define SMCPROTO_SMC 0 /* SMC protocol, IPv4 */
#define SMCPROTO_SMC6 1 /* SMC protocol, IPv6 */
+#define SMC_MAX_ISM_DEVS 8 /* max # of proposed non-native ISM
+ * devices
+ */
+
extern struct proto smc_proto;
extern struct proto smc_proto6;