STRUCT RTL8365MB(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct rtl8365mb(9) β€” the Kernel API Manual moment πŸŽ€

okay so this is from the Kernel API Manual, and bestie, it's literally the driver private data page. let's get into it ✨


🌸 NAME 🌸

struct rtl8365mb β€” driver private data. that's it, that's the whole vibe. private. data. for the driver. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

struct rtl8365mb {
    struct realtek_priv *priv;
    int irq;
    const struct rtl8365mb_chip_info *chip_info;
    struct rtl8365mb_cpu cpu;
    struct mutex mib_lock;
    struct rtl8365mb_port ports[RTL8365MB_MAX_NUM_PORTS];
    struct phylink_pcs pcs;
    bool sds_supported;
 };

like, look at her. she's got everything. 🌈


✨ Members ✨

  • priv β€” pointer to the parent realtek_priv data. her parent, her roots, her whole lineage 🫢
  • irq β€” the registered IRQ, or zero. that's the whole range, no notes 😌
  • chip_info β€” chip-specific info about the attached switch. it's giving "which chip are we even dealing with" energy πŸ”₯
  • cpu β€” CPU tagging and CPU port configuration for this chip. very main character, very CPU πŸ‘‘
  • mib_lock β€” a mutex that prevents concurrent reads of MIB counters. no two besties reading the counters at the same time, periodt πŸ’€
  • ports β€” per-port data. one for every port, no cap 🧚
  • pcs β€” the PCS for the SerDes external interface. external interface, external slay ⭐
  • sds_supported β€” SerDes tuning parameters match the chip option, so the SerDes interface modes can be advertised. literally the green light for advertising those modes ✨

πŸ’œ Description πŸ’œ

Private data for this driver. short, sweet, iconic. that's the whole description and honestly? she ate. πŸŽ€


πŸ”₯ SEE ALSO πŸ”₯

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

go read them, iykyk πŸ“šπŸ’–


ngl bestie, if you ever forget what struct rtl8365mb is holding, just remember: priv, irq, chip_info, cpu, mib_lock, ports, pcs, sds_supported. eight little members, one big vibe check. πŸ’…

k bye ily, this page came from ./drivers/net/dsa/realtek, dated October 2026, and it's literally titled struct rtl8365mb(9) β€” okurrr see you in the next manpage, mwah πŸ“πŸ¦‹πŸ’œ

πŸ“¦ where this page comes from