Re: [PATCH net-next v5 10/14] net/smc: Introduce SMCR get linkgroup command

2020-11-25 Thread Jakub Kicinski
On Tue, 24 Nov 2020 18:50:43 +0100 Karsten Graul wrote: > +static int smc_nl_fill_lgr(struct smc_link_group *lgr, > +struct sk_buff *skb, > +struct netlink_callback *cb) > +{ > + char smc_target[SMC_MAX_PNETID_LEN + 1]; > + struct nlattr *attr

[PATCH net-next v5 10/14] net/smc: Introduce SMCR get linkgroup command

2020-11-24 Thread Karsten Graul
From: Guvenc Gulce 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: Guve