summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHans Wippel <hwippel@linux.ibm.com>2018-06-28 20:05:08 +0300
committerDavid S. Miller <davem@davemloft.net>2018-06-30 14:42:25 +0300
commit1619f770589a183af56f248de261534b255122de (patch)
treee26d650e439f5a73e08726c8cb978c15020152fc /include
parentc6ba7c9ba43de1b57e9a53946e7ff988554c84ed (diff)
downloadlinux-1619f770589a183af56f248de261534b255122de.tar.xz
net/smc: add pnetid support for SMC-D and ISM
SMC-D relies on PNETIDs to find usable SMC-D/ISM devices for a SMC connection. This patch adds SMC-D/ISM support to the current PNETID implementation. Signed-off-by: Hans Wippel <hwippel@linux.ibm.com> Signed-off-by: Ursula Braun <ubraun@linux.ibm.com> Suggested-by: Thomas Richter <tmricht@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/net/smc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/smc.h b/include/net/smc.h
index 824a7af8d654..9ef49f8b1002 100644
--- a/include/net/smc.h
+++ b/include/net/smc.h
@@ -73,6 +73,7 @@ struct smcd_dev {
struct smc_connection **conn;
struct list_head vlan;
struct workqueue_struct *event_wq;
+ u8 pnetid[SMC_MAX_PNETID_LEN];
};
struct smcd_dev *smcd_alloc_dev(struct device *parent, const char *name,