diff options
author | 2020-03-30 11:06:49 -0700 | |
---|---|---|
committer | 2020-03-30 11:06:49 -0700 | |
commit | 6e2345c197a98cffb321db4529d0ea6414c12901 (patch) | |
tree | 856a1f369cdb6d52dc265833fd83e2d40cc73d5e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec-next (diff) | |
parent | net: sched: expose HW stats types per action used by drivers (diff) | |
download | wireguard-linux-6e2345c197a98cffb321db4529d0ea6414c12901.tar.xz wireguard-linux-6e2345c197a98cffb321db4529d0ea6414c12901.zip |
Merge branch 'net-sched-expose-HW-stats-types-per-action-used-by-drivers'
Jiri Pirko says:
====================
net: sched: expose HW stats types per action used by drivers
The first patch is just adding a helper used by the second patch too.
The second patch is exposing HW stats types that are used by drivers.
Example:
$ tc filter add dev enp3s0np1 ingress proto ip handle 1 pref 1 flower dst_ip 192.168.1.1 action drop
$ tc -s filter show dev enp3s0np1 ingress
filter protocol ip pref 1 flower chain 0
filter protocol ip pref 1 flower chain 0 handle 0x1
eth_type ipv4
dst_ip 192.168.1.1
in_hw in_hw_count 2
action order 1: gact action drop
random type none pass val 0
index 1 ref 1 bind 1 installed 10 sec used 10 sec
Action statistics:
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
used_hw_stats immediate <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions