]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit26c2e802943a9314bbb6c254dce57803f5021e0f
tree9b6f1e91bc483a6e132cd354ebde235f46df8c95
parentf1a9f0fc39b87e943af48539278ca10da57494e0
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