OSDN Git Service

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)
commit07d51580ff6594dc7261821ee40b37392040db2a
tree03669f4a7812a73d452ec5bc936887a34b78c18d
parent8b2f0f44f06bd5f00d7d5e6c20a4dc3ec28e0ecd
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