]> git.baikalelectronics.ru Git - kernel.git/commit
net/smc: introduce list of pnetids for Ethernet devices
authorUrsula Braun <ubraun@linux.ibm.com>
Sat, 26 Sep 2020 10:44:26 +0000 (12:44 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Sep 2020 22:19:03 +0000 (15:19 -0700)
commit1aab7199e0ac352d03fff77ca3286aacb74b1cfb
treed482a471ce79212c5965a8c44de2b05c75dee8e9
parent9ff7b9cea43b14534b9c338c988cac888a14baa1
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>
net/smc/smc_netns.h
net/smc/smc_pnet.c
net/smc/smc_pnet.h