]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
net/smc: Add link counters for IB device ports
authorGuvenc Gulce <guvenc@linux.ibm.com>
Tue, 1 Dec 2020 19:20:39 +0000 (20:20 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 2 Dec 2020 01:56:12 +0000 (17:56 -0800)
commitddc992866f13373e3fd63fd70d9a4452e0d17d69
tree38a11a53f909229125aaa8998a520d0c931245d0
parent07d51580ff6594dc7261821ee40b37392040db2a
net/smc: Add link counters for IB device ports

Add link counters to the structure of the smc ib device, one counter per
ib port. 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_ib.h