diff options
author | Guvenc Gulce <guvenc@linux.ibm.com> | 2021-06-16 16:52:56 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-16 12:54:02 -0700 |
commit | 8c40602b4be17571dfd75102f4f1e690311c5210 (patch) | |
tree | 0cb1428c4b06f860a855e80c6d28f3de1f2f1fe2 /net/smc/smc_stats.h | |
parent | e0e4b8fa533858532f1b9ea9c6a4660d09beb37a (diff) |
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.h | 1 |
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); |