diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2025-04-15 09:14:34 +0200 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2025-04-17 10:31:57 +0200 |
commit | df8398fb7bb7a0e509200af56b79343aa133b7d6 (patch) | |
tree | 723d7714d1659752b498a0d78d246e61e598e0cd /drivers/fpga/tests | |
parent | 4e34a840613bee487a69b32483a11da94356fc2b (diff) |
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 'drivers/fpga/tests')
0 files changed, 0 insertions, 0 deletions