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>
This commit is contained in:
committed by
David S. Miller
parent
890a2cb4a9
commit
f3d74b2245
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user