Re: [PATCH V2 net-next 15/15] smc: proc-fs interface for smc connections

2016-10-12 Thread Ursula Braun
Hi Dave, thank you for your feedback. Following your guidance I studied the inet_diag/tcp_diag kernel code for AF_INET sockets. It could make sense to create an smc_diag module with an smc_diag_handler to provide SMC-socket data to userspace. Userspace tools could exploit this by receiving the SM

Re: [PATCH V2 net-next 15/15] smc: proc-fs interface for smc connections

2016-09-27 Thread David Miller
From: Ursula Braun Date: Tue, 27 Sep 2016 18:41:56 +0200 > Maintain a list of SMC sockets and display important SMC socket > information in /proc/net/smc. > > Signed-off-by: Ursula Braun Dumping internal tables and information via /procfs is strongly deprecated. Please use a more modern mecha

[PATCH V2 net-next 15/15] smc: proc-fs interface for smc connections

2016-09-27 Thread Ursula Braun
Maintain a list of SMC sockets and display important SMC socket information in /proc/net/smc. Signed-off-by: Ursula Braun --- net/smc/Makefile | 2 +- net/smc/af_smc.c | 14 +++ net/smc/smc.h | 1 + net/smc/smc_proc.c | 247 + net