Re: [PATCH net-next v3 03/15] net/smc: Add connection counters for links

2020-11-07 Thread Jakub Kicinski
On Sat, 7 Nov 2020 13:59:46 +0100 Karsten Graul wrote: > +static inline void smc_switch_link_and_count(struct smc_connection *conn, > + struct smc_link *to_lnk) Please avoid the use of static inline functions. The compiler should inline this 3 instruction

[PATCH net-next v3 03/15] net/smc: Add connection counters for links

2020-11-07 Thread Karsten Graul
From: Guvenc Gulce Add connection counters to the structure of the link. Increase/decrease the counters as needed in the corresponding routines. Signed-off-by: Guvenc Gulce Signed-off-by: Karsten Graul --- net/smc/smc_core.c | 16 ++-- net/smc/smc_core.h | 1 + 2 files changed, 1