[PATCH net-next] net: airoha: Add matchall filter offload support

Simon Horman horms at kernel.org
Thu Apr 10 08:30:38 PDT 2025


On Mon, Apr 07, 2025 at 09:59:04PM +0200, Lorenzo Bianconi wrote:
> 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
> 
> Curennet implementation supports just drop/accept as exceed/notexceed

nit: Current

> actions. Moreover, rate and burst are the only supported configuration
> parameters.
> 
> Signed-off-by: Lorenzo Bianconi <lorenzo at kernel.org>

...



More information about the Linux-mediatek mailing list