diff options
author | Paolo Abeni <[email protected]> | 2023-06-20 18:30:15 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-06-21 22:45:57 -0700 |
commit | 38967f424b5be79c4c676712e5640d846efd07e3 (patch) | |
tree | d7cc294876f5615b9d165ee05b850f1d1ec6f1b4 /tools/perf/scripts/python/syscall-counts.py | |
parent | c026d33b8f5081969503e322ea30d7c1a6b17dda (diff) |
mptcp: track some aggregate data counters
Currently there are no data transfer counters accounting for all
the subflows used by a given MPTCP socket. The user-space can compute
such figures aggregating the subflow info, but that is inaccurate
if any subflow is closed before the MPTCP socket itself.
Add the new counters in the MPTCP socket itself and expose them
via the existing diag and sockopt. While touching mptcp_diag_fill_info(),
acquire the relevant locks before fetching the msk data, to ensure
better data consistency
Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/385
Signed-off-by: Paolo Abeni <[email protected]>
Reviewed-by: Matthieu Baerts <[email protected]>
Signed-off-by: Matthieu Baerts <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions