]> git.baikalelectronics.ru Git - kernel.git/commit
net/smc: determine proposed ISM devices
authorUrsula Braun <ubraun@linux.ibm.com>
Sat, 26 Sep 2020 10:44:27 +0000 (12:44 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Sep 2020 22:19:03 +0000 (15:19 -0700)
commita0cb5459805aaf0c299a9a1d05eca55acf989374
tree3298ca3348c42f49afaea902e6ec0d1be290bcd6
parent1aab7199e0ac352d03fff77ca3286aacb74b1cfb
net/smc: determine proposed ISM devices

SMCD Version 2 allows to propose up to 8 additional ISM devices
offered to the peer as candidates for SMCD communication.
This patch covers determination of the ISM devices to be proposed.
ISM devices without PNETID are preferred, since ISM devices with
PNETID are a V1 leftover and will disappear over the time.

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/af_smc.c
net/smc/smc.h
net/smc/smc_clc.c
net/smc/smc_clc.h
net/smc/smc_core.h
net/smc/smc_ism.c
net/smc/smc_pnet.c
net/smc/smc_pnet.h