openwrt/package/network/config
Julius Bairaktaris 0b8b834019 qca-ppe-qos: skip the Wi-Fi small-packet filters for frames already stamped
The driver gives a frame it hands to a Wi-Fi netdev from the PPE path the
small-packet priority itself, so a short frame has skb->priority 256 +
small_pkt_prio when the egress classifier of the netdev sees it. The four
u32 filters still run on every such frame, a PSH test and a length test
per address family, and each filter is a separate call in the egress
chain.

Put a first filter in front of them that passes a frame whose priority is
above 255, so a stamped frame takes one filter and the rest only see
frames that came by the host or that the driver's rule left alone. Frames
above 255 now also skip any filter a user put at a higher preference on
the same egress.

The length test was the high byte of the length field being zero, which is
a threshold of 255 whatever small_pkt_len is set to, while the driver
stamps a frame whose L3 length is at most small_pkt_len. u32 cannot
compare, so the length is a compare ematch: the IPv4 total length is at
most small_pkt_len, the IPv6 payload length at most small_pkt_len - 40,
which is the driver's count of 40 bytes of header. That needs
kmod-sched for the meta and cmp ematches.

Signed-off-by: Julius Bairaktaris <julius@bairaktaris.de>
Link: https://github.com/openwrt/openwrt/pull/26732
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-12-05 13:31:29 +01:00
..
firewall
…
firewall4
…
gre
…
ipip
…
ltq-adsl-app
…
ltq-vdsl-vr9-app
…
ltq-vdsl-vr11-app
…
netifd netifd: update to Git HEAD (2026-11-23) 2026-12-03 20:23:12 +01:00
qca-ppe-qos qca-ppe-qos: skip the Wi-Fi small-packet filters for frames already stamped 2026-12-05 13:31:29 +01:00
qos-scripts
…
qosify
…
soloscli
…
swconfig
…
vti
…
vxlan
…
wifi-scripts wifi-scripts: fix WPA Enterprise / PPSK FT_KEY_CANT_BE_DERIVED error 2026-12-03 12:36:51 +01:00
xfrm
…