summaryrefslogtreecommitdiffstats
path: root/net/smc/smc_stats.h
diff options
context:
space:
mode:
authorGuvenc Gulce <guvenc@linux.ibm.com>2021-06-16 16:52:56 +0200
committerDavid S. Miller <davem@davemloft.net>2021-06-16 12:54:02 -0700
commit8c40602b4be17571dfd75102f4f1e690311c5210 (patch)
tree0cb1428c4b06f860a855e80c6d28f3de1f2f1fe2 /net/smc/smc_stats.h
parente0e4b8fa533858532f1b9ea9c6a4660d09beb37a (diff)
downloadlinux-8c40602b4be17571dfd75102f4f1e690311c5210.tar.gz
linux-8c40602b4be17571dfd75102f4f1e690311c5210.tar.bz2
linux-8c40602b4be17571dfd75102f4f1e690311c5210.zip
net/smc: Add netlink support for SMC statistics
Add the netlink function which collects the statistics information and delivers it to the userspace. 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>
Diffstat (limited to 'net/smc/smc_stats.h')
-rw-r--r--net/smc/smc_stats.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/smc/smc_stats.h b/net/smc/smc_stats.h
index 928372114cf1..84baaca59eaf 100644
--- a/net/smc/smc_stats.h
+++ b/net/smc/smc_stats.h
@@ -247,6 +247,7 @@ do { \
} \
while (0)
+int smc_nl_get_stats(struct sk_buff *skb, struct netlink_callback *cb);
int smc_stats_init(void) __init;
void smc_stats_exit(void);