mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-22 19:37:51 +04:00
Only the ACL table is reported as a devlink resource, so a full FDB, VSI or VLAN translation table shows up only as a refused request. Register "fdb" (2048), "vsi" (32) and "vlan_xlt" (64) with occupancy getters, and add devlink regions of the same names that snapshot the raw table entries, as mv88e6xxx does for its ATU and VTU. FDB occupancy counts the valid entries, learned ones included, by reading the table back. 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>