]> git.baikalelectronics.ru Git - kernel.git/commit
net/smc: map and register buffers for a new link
authorKarsten Graul <kgraul@linux.ibm.com>
Fri, 1 May 2020 10:48:03 +0000 (12:48 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 May 2020 23:20:04 +0000 (16:20 -0700)
commit35bd509a73dd5e2a4d002b22a4bd05d6dc7ac9df
treeb8431c974689ac16d39316ba7e1d258958ed08f4
parentb8465961c0afcefe77e44dc5ba2dacaa55bb2304
net/smc: map and register buffers for a new link

Introduce support to map and register all current buffers for a new
link. smcr_buf_map_lgr() will map used buffers for a new link and
smcr_buf_reg_lgr() can be called to register used buffers on the
IB device of the new link.

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