diff options
author | 2025-04-15 09:14:34 +0200 | |
---|---|---|
committer | 2025-04-17 10:31:57 +0200 | |
commit | df8398fb7bb7a0e509200af56b79343aa133b7d6 (patch) | |
tree | 723d7714d1659752b498a0d78d246e61e598e0cd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch '10GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue (diff) | |
download | wireguard-linux-df8398fb7bb7a0e509200af56b79343aa133b7d6.tar.xz wireguard-linux-df8398fb7bb7a0e509200af56b79343aa133b7d6.zip |
net: airoha: Add matchall filter offload support
Introduce tc matchall filter offload support in airoha_eth driver.
Matchall hw filter is used to implement hw rate policing via tc action
police:
$tc qdisc add dev eth0 handle ffff: ingress
$tc filter add dev eth0 parent ffff: matchall action police \
rate 100mbit burst 1000k drop
The current implementation supports just drop/accept as exceed/notexceed
actions. Moreover, rate and burst are the only supported configuration
parameters.
Reviewed-by: Davide Caratti <dcaratti@redhat.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://patch.msgid.link/20250415-airoha-hw-rx-ratelimit-v4-1-03458784fbc3@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions