STRUCT MV88E6XXX_DEVLINK_STU_ENTRY(9)
β¨ NAME β¨
struct mv88e6xxx_devlink_stu_entry β literally the Devlink STU entry, bestie π
this is from the Kernel API Manual and it's a whole vibe
π SYNOPSIS π
struct mv88e6xxx_devlink_stu_entry {
u16 sid;
u16 vid;
u16 data[3];
u16 resvd;
};
okay so that's the whole struct, no cap β five fields, that's her π
π Members π
sidβ Global1/3: the SID, plus the unknown filters and learning. she's the main character of this struct fr fr π₯vidβ Global1/6: the Valid bit. one bit, but she's holding the whole thing together π«Άdataβ Global1/7-9: the membership data and priority override. three ([3]!) u16's of pure membership info πresvdβ Reserved. In case we forgot something π honestly relatable, keeping a little cushion just in case
πΈ Description πΈ
okay so the STU entry format is NOT consistent between chipset generations β it literally varies, bestie π
Peridot and Amethyst pack the STU data into Global1/7-8. Older silicon spreads the information across all three VTU data registers β inheriting the layout of even older hardware that had no STU at all. the way that lineage goes back generations... iconic honestly π
and because this is a low-level debug interface, the move is: copy all data verbatim and defer parsing to the consumer. no cleverness, no parsing here, just straight copying β she's a courier not a translator π β¨
π¦ SEE ALSO π¦
- Kernel file
./drivers/net/dsa/mv88e6xxx/devlink.cβ go read it, iykyk π struct mv88e6xxx_devlink_vtu_entry(9)β her sibling!! same energy, different registers π
okay that's the whole page, you ate that π and just so you know where it lives and when it dropped: it's from ./drivers/net/dsa/mv88e6xxx, dated October 2026 β periodt π
π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms