]> git.baikalelectronics.ru Git - kernel.git/commit
net/smc: Add connection counters for links
authorGuvenc Gulce <guvenc@linux.ibm.com>
Tue, 1 Dec 2020 19:20:38 +0000 (20:20 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 2 Dec 2020 01:56:12 +0000 (17:56 -0800)
commit9f8ea0ecf15a54dac610600b0babc040eb7aaad1
tree03669f4a7812a73d452ec5bc936887a34b78c18d
parentd7cbd05baf2c456b1be40434f8df5382c7b105c4
net/smc: Add connection counters for links

Add connection counters to the structure of the link.
Increase/decrease the counters as needed in the corresponding
routines.

Signed-off-by: Guvenc Gulce <guvenc@linux.ibm.com>
Signed-off-by: Karsten Graul <kgraul@linux.ibm.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/smc/smc_core.c
net/smc/smc_core.h