]> 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)
commitd9c2adc8efc77b38e4b1a15f7b47d53d42edc3a5
treedc04b676e1642f2333f69ad513152c0b999fecaa
parent23b091acbb959c31e2c78d1ddaea53692a814ef2
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