aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/smc.h
diff options
context:
space:
mode:
authorHans Wippel <hwippel@linux.ibm.com>2018-06-28 19:05:08 +0200
committerDavid S. Miller <davem@davemloft.net>2018-06-30 20:42:25 +0900
commit1619f770589a183af56f248de261534b255122de (patch)
treee26d650e439f5a73e08726c8cb978c15020152fc /include/net/smc.h
parentnet/smc: add base infrastructure for SMC-D and ISM (diff)
downloadlinux-dev-1619f770589a183af56f248de261534b255122de.tar.xz
linux-dev-1619f770589a183af56f248de261534b255122de.zip
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/net/smc.h')
-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,