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 <[email protected]>
Signed-off-by: Ursula Braun <[email protected]>
Suggested-by: Thomas Richter <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
Hans Wippel 2018-06-28 19:05:08 +02:00 • committed by David S. Miller
commit 1619f77058
4 changed files with 46 additions and 0 deletions

View file

@ -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,