rxrpc: Trace/count transmission underflows and cwnd resets
authorDavid Howells <dhowells@redhat.com>
Fri, 11 Nov 2022 13:47:35 +0000 (13:47 +0000)
committerDavid Howells <dhowells@redhat.com>
Thu, 1 Dec 2022 13:36:42 +0000 (13:36 +0000)
commit32cf8edb079a6a687a2b5dba39a813a0bbd0ddf9
treeacbf8a435043daa16df69c2d9f2fd3ea769cc788
parent3dd9c8b5f09fd24652729a3da5c5efa3ec2c4590
rxrpc: Trace/count transmission underflows and cwnd resets

Add a tracepoint to log when a cwnd reset occurs due to lack of
transmission on a call.

Add stat counters to count transmission underflows (ie. when we have tx
window space, but sendmsg doesn't manage to keep up), cwnd resets and
transmission failures.

Signed-off-by: David Howells <dhowells@redhat.com>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
include/trace/events/rxrpc.h
net/rxrpc/ar-internal.h
net/rxrpc/call_event.c
net/rxrpc/input.c
net/rxrpc/output.c
net/rxrpc/proc.c