]> 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)
commit4cd77dc031c1fa2c5d0a844a6af7260415985114
tree3298ca3348c42f49afaea902e6ec0d1be290bcd6
parent96497c4f37c93f7375531801fd620aea8257013a
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