aboutsummaryrefslogtreecommitdiff
path: root/net/smc/smc_stats.h
diff options
context:
space:
mode:
authorGuvenc Gulce2021-06-16 16:52:57 +0200
committerDavid S. Miller2021-06-16 12:54:02 -0700
commitf0dd7bf5e33066e554442c509ef6351728b95b51 (patch)
treed6dfbd6ad5c66e695554116e2ee3d2e144727b39 /net/smc/smc_stats.h
parent8c40602b4be17571dfd75102f4f1e690311c5210 (diff)
net/smc: Add netlink support for SMC fallback statistics
Add support to collect more detailed SMC fallback reason statistics and provide these statistics to user space on the netlink interface. 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 84baaca59eaf..7c35b22d9e29 100644
--- a/net/smc/smc_stats.h
+++ b/net/smc/smc_stats.h
@@ -248,6 +248,7 @@ do { \
while (0)
int smc_nl_get_stats(struct sk_buff *skb, struct netlink_callback *cb);
+int smc_nl_get_fback_stats(struct sk_buff *skb, struct netlink_callback *cb);
int smc_stats_init(void) __init;
void smc_stats_exit(void);