Does mainline Linux support HW QOS?

Seems all mtk router chip supports hw qos, but is it supported by mainline linux? If supported, how to enable it? Just use hw flow offload?