]> 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)
commitd5e3dcee9e614fd98f465ed85c1df9ec4efbf175
tree4e2f8f0e2bccdb1c11f0abbf7771c94e53ac816c
parente47932166c0e4bd9f69538e797e309a05b281ea6
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