net/smc: improve link group freeing
authorUrsula Braun <ubraun@linux.ibm.com>
Mon, 21 Oct 2019 14:13:11 +0000 (16:13 +0200)
committerJakub Kicinski <jakub.kicinski@netronome.com>
Tue, 22 Oct 2019 18:23:43 +0000 (11:23 -0700)
commit8e316b9e7260cbc61974c2558733dab5de949399
tree1c984739156b3765c1cd5432fc333a7f159d3d98
parent69318b5215f2dc32c345a3d65b98b4b1bf29c007
net/smc: improve link group freeing

Usually link groups are freed delayed to enable quick connection
creation for a follow-on SMC socket. Terminated link groups are
freed faster. This patch makes sure, fast schedule of link group
freeing is not rescheduled by a delayed schedule. And it makes sure
link group freeing is not rescheduled, if the real freeing is already
running.

Signed-off-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: Karsten Graul <kgraul@linux.ibm.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
net/smc/smc_core.c
net/smc/smc_core.h