net/smc: improve server ISM device determination
authorUrsula Braun <ubraun@linux.ibm.com>
Thu, 10 Sep 2020 16:48:24 +0000 (18:48 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Sep 2020 22:24:26 +0000 (15:24 -0700)
commit7b2977d0830493452f1afaa8d8e1b4f8248df9d1
tree5c0a1c2d49cd070db002b2ea378bb3026e1e7355
parent3d9725a6a1330bed78f452ba3b171b24d9b83ac7
net/smc: improve server ISM device determination

Move check whether peer can be reached into smc_pnet_find_ism_by_pnetid().
Thus searching continues for another ism device, if check fails.

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_clc.h
net/smc/smc_pnet.c