net/smc: rkey processing for a new link as SMC client
authorKarsten Graul <kgraul@linux.ibm.com>
Sun, 3 May 2020 12:38:41 +0000 (14:38 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 3 May 2020 23:06:09 +0000 (16:06 -0700)
commit87f88cda2128a72d79d4cc700729488af1081a06
tree1ab84b479a72846cb059876934768d5018ffe096
parent336ba09f2ef71b82f07c1200be0ddf4eb923d69f
net/smc: rkey processing for a new link as SMC client

Part of the SMC client new link establishment process is the exchange of
rkeys for all used buffers.
Add new LLC message type ADD_LINK_CONTINUE which is used to exchange
rkeys of all current RMB buffers. Add functions to iterate over all
used RMB buffers of the link group, and implement the ADD_LINK_CONTINUE
processing.

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