summaryrefslogtreecommitdiff
path: root/include/net/smc.h
diff options
context:
space:
mode:
authorHans Wippel <hwippel@linux.ibm.com>2019-02-21 15:01:01 +0300
committerDavid S. Miller <davem@davemloft.net>2019-02-21 21:34:37 +0300
commitf3d74b2245a0e8b994f53df1d7982d367fc63dfe (patch)
treee7edbea9eeb9ccf027d699a1c38f575975fc4523 /include/net/smc.h
parent890a2cb4a966a097961fad0747d4f63e09b79da7 (diff)
downloadlinux-f3d74b2245a0e8b994f53df1d7982d367fc63dfe.tar.xz
net/smc: add smcd support to the pnet table
Currently, users can only set pnetids for netdevs and ib devices in the pnet table. This patch adds support for smcd devices to the pnet table. Signed-off-by: Hans Wippel <hwippel@linux.ibm.com> Signed-off-by: Ursula Braun <ubraun@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 9ef49f8b1002..bd9c0fb3b577 100644
--- a/include/net/smc.h
+++ b/include/net/smc.h
@@ -74,6 +74,7 @@ struct smcd_dev {
struct list_head vlan;
struct workqueue_struct *event_wq;
u8 pnetid[SMC_MAX_PNETID_LEN];
+ bool pnetid_by_user;
};
struct smcd_dev *smcd_alloc_dev(struct device *parent, const char *name,