net/smc: unmapping of buffers to support multiple links
authorKarsten Graul <kgraul@linux.ibm.com>
Fri, 1 May 2020 10:48:02 +0000 (12:48 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 May 2020 23:20:04 +0000 (16:20 -0700)
commit4a3641c160873fe6b6bcff00a6ea15e7430d8d42
tree81533d12d7cccce1397ef2721e599cfb6f94a4a5
parent7562a13d5a8ce9bc5020705da5f50221021f5a2c
net/smc: unmapping of buffers to support multiple links

With the support of multiple links that are created and cleared there
is a need to unmap one link from all current buffers. Add unmapping by
link and by rmb. And make smcr_link_clear() available to be called from
the LLC layer.

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