]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb8465961c0afcefe77e44dc5ba2dacaa55bb2304
tree81533d12d7cccce1397ef2721e599cfb6f94a4a5
parent11ebfbc32911303a082131c00c6dc631212eac1a
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