summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2024-12-04 07:46:32 +0000
committerJakub Kicinski <kuba@kernel.org>2024-12-09 13:48:24 -0800
commitefa95c32352b2ac7ff09d680144e22c0f25244cb (patch)
tree5234f2fc451b41df4367b495706d48cb97021763 /tools/perf/scripts/python
parent29e03ec757292e55fa0f7efa051c84ddc4f3e668 (diff)
downloadlinux-efa95c32352b2ac7ff09d680144e22c0f25244cb.tar.gz
linux-efa95c32352b2ac7ff09d680144e22c0f25244cb.zip
rxrpc: Clean up Tx header flags generation handling
Clean up the generation of the header flags when building packet headers for transmission: (1) Assemble the flags in a local variable rather than in the txb->flags. (2) Do the flags masking and JUMBO-PACKET setting in one bit of code for both the main header and the jumbo headers. (3) Generate the REQUEST-ACK flag afresh each time. There's a possibility we might want to do jumbo retransmission packets in future. (4) Pass the local flags variable to the rxrpc_tx_data tracepoint rather than the combination of the txb flags and the wire header flags (the latter belong only to the first subpacket). Signed-off-by: David Howells <dhowells@redhat.com> cc: Marc Dionne <marc.dionne@auristor.com> cc: linux-afs@lists.infradead.org Link: https://patch.msgid.link/20241204074710.990092-5-dhowells@redhat.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions