Hardware offloaded QoS

Hi,

New here. Thank you for building openwrt!

I have been trying to understand QoS and Hardware offloading, one of my question is that whether MT7988 able to support hardware offloaded QoS.

  1. I found in many documentations within openwrt, like thisstating

(hardware flow offloading is) Incompatible with features like Smart Queue Management (SQM) or QoS

  1. However, the datasheet states that there is a QoS DMA controller.

  2. Also, this post claims hardware QoS works on BPI-R4 in “openwrt master branch”

How should I understand the current status of how openwrt supports QoS hardware offloading on different hardware?

Thanks in advance!

Mediatek has HW QoS for quite a long time but I have failed to enable it: Hardware QoS support status - #8 by timur.davletshin

... IMHO it is not fully implemented.

PS: https://netdevconf.info/0x14/pub/papers/48/0x14-paper48-talk-paper.pdf - some theoretic background.

I would recommend you testing it out on your own hardware. Who knows, maybe things have changed since I tried it...

Thank you for the explanation! Do you recommend following your post here to test?

Yep, but don't forget to make sure that QoS offloading is enabled via ethtool (see same thread, few posts earlier).