diff options
| author | Lorenzo Bianconi <[email protected]> | 2025-04-15 07:14:34 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2025-04-17 08:31:57 +0000 |
| commit | df8398fb7bb7a0e509200af56b79343aa133b7d6 (patch) | |
| tree | 723d7714d1659752b498a0d78d246e61e598e0cd /lib/alloc_tag.c | |
| parent | Merge branch '10GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/n... (diff) | |
| download | kernel-df8398fb7bb7a0e509200af56b79343aa133b7d6.tar.gz kernel-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 <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Signed-off-by: Lorenzo Bianconi <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'lib/alloc_tag.c')
0 files changed, 0 insertions, 0 deletions
