Re: [PATCH net-next v4 09/15] net/smc: Introduce SMCR get linkgroup command

2020-11-13 Thread Jakub Kicinski
On Fri, 13 Nov 2020 16:08:39 +0100 Karsten Graul wrote: > On 11/11/2020 23:34, Jakub Kicinski wrote: > > On Mon, 9 Nov 2020 16:18:08 +0100 Karsten Graul wrote: > >> @@ -295,6 +377,14 @@ static int smc_diag_dump(struct sk_buff *skb, struct > >> netlink_callback *cb) > >> > >> static int smc_d

Re: [PATCH net-next v4 09/15] net/smc: Introduce SMCR get linkgroup command

2020-11-13 Thread Karsten Graul
On 11/11/2020 23:34, Jakub Kicinski wrote: > On Mon, 9 Nov 2020 16:18:08 +0100 Karsten Graul wrote: >> @@ -295,6 +377,14 @@ static int smc_diag_dump(struct sk_buff *skb, struct >> netlink_callback *cb) >> >> static int smc_diag_dump_ext(struct sk_buff *skb, struct netlink_callback >> *cb) >>

Re: [PATCH net-next v4 09/15] net/smc: Introduce SMCR get linkgroup command

2020-11-11 Thread Jakub Kicinski
On Mon, 9 Nov 2020 16:18:08 +0100 Karsten Graul wrote: > @@ -295,6 +377,14 @@ static int smc_diag_dump(struct sk_buff *skb, struct > netlink_callback *cb) > > static int smc_diag_dump_ext(struct sk_buff *skb, struct netlink_callback > *cb) > { > + struct smc_diag_req_v2 *req = nlmsg_data

[PATCH net-next v4 09/15] net/smc: Introduce SMCR get linkgroup command

2020-11-09 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