Files
openwrt/target
Julius Bairaktaris aaa4378dce qualcommax: qca_ppe: add devlink info and clear port meter credit
devlink dev info reports no chip id, and the ingress port meter keeps its
credit when a police action is removed. Report the device and revision
fields of the switch id register as the generic asic id and revision;
device 0x15 with revision 0 is IPQ807x and 1 is IPQ6018, and probe does not
depend on it. Clear both words of the port's meter credit entry when the
rate goes to zero, as the port shaper already does.

On IPQ8074 the credit entry reads zero after the police action is deleted,
and a re-armed police holds its rate.

Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Julius Bairaktaris <julius@bairaktaris.de>
Link: https://github.com/openwrt/openwrt/pull/25700
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-10-18 12:50:07 +02:00
..
…
…