diff options
author | Venkat Venkatsubra <venkat.x.venkatsubra@oracle.com> | 2016-07-09 17:36:20 -0700 |
---|---|---|
committer | Santosh Shilimkar <santosh.shilimkar@oracle.com> | 2017-01-02 14:02:56 -0800 |
commit | 192a798f52998a643cef84fce0204be56666b0bf (patch) | |
tree | a4db3cb8d4d45ea005c06bbb8e6298e3fa03faba /net/rds/rds.h | |
parent | cf657269d311d575eb196c7045579b3443631b8b (diff) |
RDS: add stat for socket recv memory usage
Tracks the receive side memory added to scokets and removed from sockets.
Signed-off-by: Venkat Venkatsubra <venkat.x.venkatsubra@oracle.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Diffstat (limited to 'net/rds/rds.h')
-rw-r--r-- | net/rds/rds.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/rds/rds.h b/net/rds/rds.h index 0bb8213c7d0b..8ccd5a93e56c 100644 --- a/net/rds/rds.h +++ b/net/rds/rds.h @@ -631,6 +631,9 @@ struct rds_statistics { uint64_t s_cong_update_received; uint64_t s_cong_send_error; uint64_t s_cong_send_blocked; + uint64_t s_recv_bytes_added_to_socket; + uint64_t s_recv_bytes_removed_from_socket; + }; /* af_rds.c */ |