diff options
author | Hans Wippel <hwippel@linux.ibm.com> | 2019-02-21 13:01:01 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-21 10:34:37 -0800 |
commit | f3d74b2245a0e8b994f53df1d7982d367fc63dfe (patch) | |
tree | e7edbea9eeb9ccf027d699a1c38f575975fc4523 /include/net | |
parent | 890a2cb4a966a097961fad0747d4f63e09b79da7 (diff) | |
download | linux-stable-f3d74b2245a0e8b994f53df1d7982d367fc63dfe.tar.gz linux-stable-f3d74b2245a0e8b994f53df1d7982d367fc63dfe.tar.bz2 linux-stable-f3d74b2245a0e8b994f53df1d7982d367fc63dfe.zip |
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')
-rw-r--r-- | include/net/smc.h | 1 |
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, |