aboutsummaryrefslogtreecommitdiff
path: root/scripts/bpf_helpers_doc.py
diff options
context:
space:
mode:
authorPetr Machata <[email protected]>2020-01-24 15:23:17 +0200
committerDavid S. Miller <[email protected]>2020-01-25 10:56:31 +0100
commitc143139b7fd36cb66afb4423ac14a1efd8a45609 (patch)
tree7abd16ac7cf80fb179f3f0e42247da2d546f9710 /scripts/bpf_helpers_doc.py
parent4121d9479b24c20ff7d3e7b62a7cf330fae7b2af (diff)
selftests: forwarding: lib: Allow reading TC rule byte counters
The function tc_rule_stats_get() fetches a packet counter of a given TC rule. Extend it to support byte counters as well by adding an optional argument with selector. Signed-off-by: Petr Machata <[email protected]> Signed-off-by: Ido Schimmel <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions