commit | 6c868a3edc70ec9819d6a94268625d25e6bc9587 | [log] [tgz] |
---|---|---|
author | Karsten Graul <kgraul@linux.ibm.com> | Fri May 01 12:48:11 2020 +0200 |
committer | David S. Miller <davem@davemloft.net> | Fri May 01 16:20:05 2020 -0700 |
tree | 4df8cf1096ba6527772313a68275f5ef7c4e1c75 | |
parent | 33d203302d1cc744a13349d2576c985feb469220 [diff] |
net/smc: introduce smc_pnet_find_alt_roce() Introduce a new function in smc_pnet.c that searches for an alternate IB device, using an existing link group and a primary IB device. The alternate IB device needs to be active and must have the same PNETID as the link group. Signed-off-by: Karsten Graul <kgraul@linux.ibm.com> Reviewed-by: Ursula Braun <ubraun@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>