]> git.baikalelectronics.ru Git - kernel.git/commit
net/smc: Add SMC statistics support
authorGuvenc Gulce <guvenc@linux.ibm.com>
Wed, 16 Jun 2021 14:52:55 +0000 (16:52 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Jun 2021 19:54:02 +0000 (12:54 -0700)
commit5b1f27f51049e96d79698aa53826fee029bc2f02
treedc04b676e1642f2333f69ad513152c0b999fecaa
parent655d7dbdd548da080d46baf88d82aa574e9125b2
net/smc: Add SMC statistics support

Add the ability to collect SMC statistics information. Per-cpu
variables are used to collect the statistic information for better
performance and for reducing concurrency pitfalls. The code that is
collecting statistic data is implemented in macros to increase code
reuse and readability.

Signed-off-by: Guvenc Gulce <guvenc@linux.ibm.com>
Signed-off-by: Karsten Graul <kgraul@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/Makefile
net/smc/af_smc.c
net/smc/smc_core.c
net/smc/smc_rx.c
net/smc/smc_stats.c [new file with mode: 0644]
net/smc/smc_stats.h [new file with mode: 0644]
net/smc/smc_tx.c