]> git.baikalelectronics.ru Git - kernel.git/commit
net/smc: multiple link support for rmb buffer registration
authorKarsten Graul <kgraul@linux.ibm.com>
Fri, 1 May 2020 10:48:01 +0000 (12:48 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 May 2020 23:20:04 +0000 (16:20 -0700)
commit11ebfbc32911303a082131c00c6dc631212eac1a
treeb3140c512fa3b0d89fba8b6d918f66bcf6327f77
parent72f4ef81eae97706f243672cd3807cdbaa2d87ff
net/smc: multiple link support for rmb buffer registration

The CONFIRM_RKEY LLC processing handles all links in one LLC message.
Move the call to this processing out of smcr_link_reg_rmb() which does
processing per link, into smcr_lgr_reg_rmbs() which is responsible for
link group level processing. Move smcr_link_reg_rmb() into module
smc_core.c.
>From af_smc.c now call smcr_lgr_reg_rmbs() to register new rmbs on all
available links.

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