]> git.baikalelectronics.ru Git - kernel.git/commit
net/smc: new smc_rtoken_set functions for multiple link support
authorKarsten Graul <kgraul@linux.ibm.com>
Thu, 30 Apr 2020 13:55:47 +0000 (15:55 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Apr 2020 19:44:34 +0000 (12:44 -0700)
commit8afd26e391d8d27452bcf3c27846fc0e99a4b926
tree3a2907cf274e90b8e2ff3d5cbfa7b48cd5e4e391
parent8b1db71059905cdcf3d47652ddb3eb7d7ae3a53d
net/smc: new smc_rtoken_set functions for multiple link support

Introduce smc_rtoken_set() to set the rtoken for a new link to an
existing rmb whose rtoken is given, and smc_rtoken_set2() to set an
rtoken for a new link whose link_id is given.

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