diff options
author | brakmo <brakmo@fb.com> | 2019-05-29 02:59:40 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-06-01 02:41:29 +0300 |
commit | d58c6f7212f4eda59ca94cbfbaa785dde7675456 (patch) | |
tree | 84c6e60b4f3ca303da138d79f55747c6222213eb /samples/bpf/hbm.h | |
parent | ffd81558d56c611b1e93f856c77f42046a2deab5 (diff) | |
download | linux-d58c6f7212f4eda59ca94cbfbaa785dde7675456.tar.xz |
bpf: Add more stats to HBM
Adds more stats to HBM, including average cwnd and rtt of all TCP
flows, percents of packets that are ecn ce marked and distribution
of return values.
Signed-off-by: Lawrence Brakmo <brakmo@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'samples/bpf/hbm.h')
-rw-r--r-- | samples/bpf/hbm.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/samples/bpf/hbm.h b/samples/bpf/hbm.h index c08247cec2a7..f0963ed6a562 100644 --- a/samples/bpf/hbm.h +++ b/samples/bpf/hbm.h @@ -29,4 +29,10 @@ struct hbm_queue_stats { unsigned long long bytes_total; unsigned long long firstPacketTime; unsigned long long lastPacketTime; + unsigned long long pkts_ecn_ce; + unsigned long long returnValCount[4]; + unsigned long long sum_cwnd; + unsigned long long sum_rtt; + unsigned long long sum_cwnd_cnt; + long long sum_credit; }; |