ENUM NTB_DEFAULT_PORT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ enum ntb_default_port β€” NTB default port number ✨

okay so this is a page from the Kernel API Manual, section 9, and it's genuinely tiny but lowkey iconic β€” it's just the little enum that tells you which port NTB considers "the default one" πŸ’…


πŸ¦‹ NAME

enum ntb_default_port β€” NTB default port number, that's it, that's the whole vibe πŸŽ€


🌸 SYNOPSIS

enum ntb_default_port {
    NTB_PORT_PRI_USD ,
    NTB_PORT_SEC_DSD

};

like, two members. two. she's minimal, she's clean, she's giving "I don't need a hundred fields to be main character" ✨


πŸ’– Constants

  • NTB_PORT_PRI_USD β€” the default port for the NTB_TOPO_PRI / NTB_TOPO_B2B_USD topologies. so if you're running primary or the B2B upstream-downstream setup, this is your girl 🫢
  • NTB_PORT_SEC_DSD β€” the default port for the NTB_TOPO_SEC / NTB_TOPO_B2B_DSD topologies. secondary and B2B downstream-upstream live here, no cap πŸ’€
bestie pls note: these are topology defaults, not magic β€” the enum literally only exists to hand the right port number back for those topo pairings. don't go assigning extra meaning to it, i'm begging πŸ™ˆ

πŸ‘‘ SEE ALSO

okay this section ATE, it's the whole friend group πŸ’œ the source of truth for all of it lives in the kernel file ./include/linux/ntb.h, and here's everyone she's linked with:


🧚 lil reminder that this page came out of ./include/linux and it's dated October 2026 β€” so yeah, she's from the future, respectfully πŸ’…βœ¨

and that's the whole page bestie, go read ntb_default_port_number(9) next if you wanna see her in action πŸ“πŸ«Ά

πŸ“¦ where this page comes from