STRUCT RTL8365MB_EXTINT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct rtl8365mb_extint(9) β€” external interface info πŸ¦‹

okay bestie so this is a page from the Kernel API Manual and it's about struct rtl8365mb_extint, which is literally just a tiny little struct that keeps track of where a port's external interface is at. it's giving "small but essential" energy, no cap πŸ’–

✨ SYNOPSIS ✨

struct rtl8365mb_extint {
    int port;
    int id;
    unsigned int supported_interfaces;
};

that's the whole thing. three members. tiny icon, huge role πŸŽ€

🌸 Members 🌸

  • port β€” the port that's got an external interface hanging off it. like, which port, bestie.
  • id β€” the external interface ID 🫢 and heads up, this one's picky: it's either 0, 1, or 2. those are the only valid values, periodt.
  • supported_interfaces β€” a bitmask of the supported PHY interface modes ✨ yes, a bitmask, so it's one of those "read the bits" situations, iykyk.

πŸ’œ Description πŸ’œ

so basically this struct represents a mapping, and the mapping is:

port -> { id, supported_interfaces }

that's it, that's the vibe 🌈 it's meant to be embedded in struct rtl8365mb_chip_info for every port that has an external interface. so like, one of these little guys per external-interface port, all cozied up inside the chip info struct πŸ‘‘

πŸ”₯ SEE ALSO πŸ”₯

  • Kernel file ./drivers/net/dsa/realtek/rtl8365mb_main.c
  • enum rtl8365mb_vlan_egress_mode(9)
  • struct rtl8365mb_chip_info(9)
  • struct rtl8365mb_cpu(9)
  • struct rtl8365mb_port(9)
  • struct rtl8365mb(9)

okay that's the whole page bestie, go read the neighbors too, they're all in the same friend group πŸ§šπŸ’–

this masterpiece lives in ./drivers/net/dsa/realtek, and it's dated October 2026 β€” so yes, the docs are time-traveling, and honestly? slay ⭐ mwah πŸ’‹

πŸ“¦ where this page comes from