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)
commite9b8c845cb342a3ab3d92235a54d0d1ad06d7204
tree4e2f8f0e2bccdb1c11f0abbf7771c94e53ac816c
parent099b990bd11a3a96b5d59973f482018e5cbde6c3
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