diff options
| author | Sunil Goutham <sgoutham@marvell.com> | 2021-03-18 13:02:15 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2021-03-18 21:37:22 +0300 |
| commit | e638a83f167ee9c4abd3faa3be460afe5a688490 (patch) | |
| tree | 154e3f0da869bf5662dcb5acedd98445e7521605 /tools/perf/scripts/python/compaction-times.py | |
| parent | d8ce30e0cf76afe2dd1acfd3f64f66a8afdfa539 (diff) | |
| download | linux-e638a83f167ee9c4abd3faa3be460afe5a688490.tar.xz | |
octeontx2-pf: TC_MATCHALL egress ratelimiting offload
Add TC_MATCHALL egress ratelimiting offload support with POLICE
action for entire traffic going out of the interface.
Eg: To ratelimit egress traffic to 100Mbps
$ ethtool -K eth0 hw-tc-offload on
$ tc qdisc add dev eth0 clsact
$ tc filter add dev eth0 egress matchall skip_sw \
action police rate 100Mbit burst 16Kbit
HW supports a max burst size of ~128KB.
Only one ratelimiting filter can be installed at a time.
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: Naveen Mamindlapalli <naveenm@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions
