ENUM NTB_TOPO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, you're on the enum ntb_topo(9) page from the Kernel API Manual, and it's literally the NTB connection topology enum. That's the whole vibe: it tells you which NTB topology situation you're in, and the constants below are the whole cast. 🫢

✨ SYNOPSIS ✨

here's the exact enum, no cap:

enum ntb_topo {
    NTB_TOPO_NONE ,
    NTB_TOPO_PRI ,
    NTB_TOPO_SEC ,
    NTB_TOPO_B2B_USD ,
    NTB_TOPO_B2B_DSD ,
    NTB_TOPO_SWITCH ,
    NTB_TOPO_CROSSLINK

};

πŸŽ€ Constants πŸŽ€

  • NTB_TOPO_NONE β€” Topology is unknown or invalid. lowkey the "no thoughts, head empty" option 😭
  • NTB_TOPO_PRI β€” On primary side of local ntb. main character energy on the local side ✨
  • NTB_TOPO_SEC β€” On secondary side of remote ntb. the remote side is giving supporting role, but make it iconic πŸ’…
  • NTB_TOPO_B2B_USD β€” On primary side of local ntb upstream of remote ntb. upstream bestie, get into it 🌈
  • NTB_TOPO_B2B_DSD β€” On primary side of local ntb downstream of remote ntb. downstream bestie, same energy, different direction πŸ¦‹
  • NTB_TOPO_SWITCH β€” Connected via a switch which supports ntb. switch said "I got you" πŸ”₯
  • NTB_TOPO_CROSSLINK β€” Connected via two symmetric switchecs. yes, switchecs is exactly what the page says, and we are preserving it, periodt πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./include/linux/ntb.h is the backstage pass, and these are all the linked icons you might wanna stalk next:


okay that's the page, bestie πŸ’– huge shoutout to the source/version ./include/linux and the date October 2026; this has been your enum ntb_topo(9) moment, and it ate. πŸŽ€βœ¨

πŸ“¦ where this page comes from