]> git.baikalelectronics.ru Git - kernel.git/commit
net/smc: Introduce SMCR get linkgroup command
authorGuvenc Gulce <guvenc@linux.ibm.com>
Tue, 1 Dec 2020 19:20:45 +0000 (20:20 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 2 Dec 2020 01:56:13 +0000 (17:56 -0800)
commit82f3744926d227b9f90fafcb744d5c7f17fe5182
tree4e2f8f0e2bccdb1c11f0abbf7771c94e53ac816c
parentdb527af552c93e663e1e2287eb6ee2dd63291886
net/smc: Introduce SMCR get linkgroup command

Introduce get linkgroup command which loops through
all available SMCR linkgroups. It uses the SMC-R linkgroup
list as entry point, not the socket list, which makes
linkgroup diagnosis possible, in case linkgroup does not
contain active connections anymore.

Signed-off-by: Guvenc Gulce <guvenc@linux.ibm.com>
Signed-off-by: Karsten Graul <kgraul@linux.ibm.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/uapi/linux/smc.h
net/smc/smc_core.c
net/smc/smc_core.h
net/smc/smc_netlink.c