net/smc: retrieve v2 gid from IB device
authorKarsten Graul <kgraul@linux.ibm.com>
Sat, 16 Oct 2021 09:37:48 +0000 (11:37 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 16 Oct 2021 13:58:13 +0000 (14:58 +0100)
commit24fb68111d4509524b483b2577f1b20a24f5fdfd
tree9b6f1e91bc483a6e132cd354ebde235f46df8c95
parent8ade200c269f8530efde05b616801ed0612d7d72
net/smc: retrieve v2 gid from IB device

In smc_ib.c, scan for RoCE devices that support UDP encapsulation.
Find an eligible device and check that there is a route to the
remote peer.

Signed-off-by: Karsten Graul <kgraul@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/smc_core.c
net/smc/smc_ib.c
net/smc/smc_ib.h
net/smc/smc_pnet.c