diff options
author | Ursula Braun <ubraun@linux.ibm.com> | 2020-09-26 12:44:26 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-28 15:19:03 -0700 |
commit | e888a2e8337c96dd785d204cf8ff775e79173add (patch) | |
tree | d482a471ce79212c5965a8c44de2b05c75dee8e9 /net/smc/smc_netns.h | |
parent | 8caaccf521c160d231587091f1f5e8aef2dd0a5e (diff) | |
download | linux-e888a2e8337c96dd785d204cf8ff775e79173add.tar.bz2 |
net/smc: introduce list of pnetids for Ethernet devices
SMCD version 2 allows usage of ISM devices with hardware PNETID
only, if an Ethernet net_device exists with the same hardware PNETID.
This requires to maintain a list of pnetids belonging to
Ethernet net_devices, which is covered by this patch.
Signed-off-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: Karsten Graul <kgraul@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/smc/smc_netns.h')
-rw-r--r-- | net/smc/smc_netns.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/smc/smc_netns.h b/net/smc/smc_netns.h index e7a8fc4ae02f..0f4f35aa43ad 100644 --- a/net/smc/smc_netns.h +++ b/net/smc/smc_netns.h @@ -16,5 +16,6 @@ extern unsigned int smc_net_id; /* per-network namespace private data */ struct smc_net { struct smc_pnettable pnettable; + struct smc_pnetids_ndev pnetids_ndev; }; #endif |