net: airoha: Add sched HTB offload support
authorLorenzo Bianconi <lorenzo@kernel.org>
Fri, 3 Jan 2025 12:17:05 +0000 (13:17 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 7 Jan 2025 11:32:50 +0000 (12:32 +0100)
commitef1ca9271313b4ea7b03de69576aacef1e78f381
tree3eff79027f733594c03f324113906daf2de503d4
parent20bf7d07c956e5c7a22d3076c599cbb7a6054917
net: airoha: Add sched HTB offload support

Introduce support for HTB Qdisc offload available in the Airoha EN7581
ethernet controller. EN7581 can offload only one level of HTB leafs.
Each HTB leaf represents a QoS channel supported by EN7581 SoC.
The typical use-case is creating a HTB leaf for QoS channel to rate
limit the egress traffic and attach an ETS Qdisc to each HTB leaf in
order to enforce traffic prioritization.

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/mediatek/airoha_eth.c