diff options
author | David Howells <dhowells@redhat.com> | 2022-05-11 14:01:25 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2022-11-08 16:42:15 +0000 |
commit | f2a676d10038e8f3913dc576397b9c9efb190afd (patch) | |
tree | d67be5a8fe07204a50b9918461a65a8645be563c /net/rxrpc/ar-internal.h | |
parent | b015424695f03a9fa5862d09c267ed458e256300 (diff) | |
download | lwn-f2a676d10038e8f3913dc576397b9c9efb190afd.tar.gz lwn-f2a676d10038e8f3913dc576397b9c9efb190afd.zip |
rxrpc: Record statistics about ACK types
Record statistics about the different types of ACKs that have been
transmitted and received and the number of ACKs that have been filled out
and transmitted or that have been skipped.
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
Diffstat (limited to 'net/rxrpc/ar-internal.h')
-rw-r--r-- | net/rxrpc/ar-internal.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/rxrpc/ar-internal.h b/net/rxrpc/ar-internal.h index ed406a5f939b..8ed707a11d43 100644 --- a/net/rxrpc/ar-internal.h +++ b/net/rxrpc/ar-internal.h @@ -101,6 +101,12 @@ struct rxrpc_net { atomic_t stat_rx_data; atomic_t stat_rx_data_reqack; atomic_t stat_rx_data_jumbo; + + atomic_t stat_tx_ack_fill; + atomic_t stat_tx_ack_send; + atomic_t stat_tx_ack_skip; + atomic_t stat_tx_acks[256]; + atomic_t stat_rx_acks[256]; }; /* |