aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/rds/ib_stats.c
diff options
context:
space:
mode:
authorSantosh Shilimkar <santosh.shilimkar@oracle.com>2016-07-09 17:14:02 -0700
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>2017-01-02 14:02:51 -0800
commit09b2b8f52895addd9bf28dc5ac98ff5cc750cf9a (patch)
tree719eb7c249bc7e6f81a2be16bc7163db8f4a749b /net/rds/ib_stats.c
parentRDS: IB: track and log active side endpoint in connection (diff)
downloadwireguard-linux-09b2b8f52895addd9bf28dc5ac98ff5cc750cf9a.tar.xz
wireguard-linux-09b2b8f52895addd9bf28dc5ac98ff5cc750cf9a.zip
RDS: IB: add few useful cache stasts
Tracks the ib receive cache total, incoming and frag allocations. Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Diffstat (limited to 'net/rds/ib_stats.c')
-rw-r--r--net/rds/ib_stats.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/rds/ib_stats.c b/net/rds/ib_stats.c
index 7e78dca1f252..9252ad126335 100644
--- a/net/rds/ib_stats.c
+++ b/net/rds/ib_stats.c
@@ -55,6 +55,8 @@ static const char *const rds_ib_stat_names[] = {
"ib_rx_refill_from_cq",
"ib_rx_refill_from_thread",
"ib_rx_alloc_limit",
+ "ib_rx_total_frags",
+ "ib_rx_total_incs",
"ib_rx_credit_updates",
"ib_ack_sent",
"ib_ack_send_failure",