rio_enum_peer(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’« rio_enum_peer(9) πŸ’«

okay so this is a page from the Kernel API Manual, bestie, and it's literally all about rio_enum_peer β€” the function that recursively enumerates a RIO network through a master port. yes queen, we're going networking today πŸ¦‹


✨ NAME ✨

rio_enum_peer β€” recursively enumerate a RIO network through a master port. that's the whole vibe. no cap. πŸ’…


🌸 SYNOPSIS 🌸

int rio_enum_peer (struct rio_net *net , struct rio_mport *port , u8
hopcount , struct rio_dev *prev , int prev_port );

look at her. five arguments. she's iconic, she's built different, she returns an int. periodt. πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • net β€” the RIO network being enumerated. like, the whole friend group we're walking through πŸ’–
  • port β€” the master port that sends the transactions. she's the one doing the talking, fr fr πŸ“£
  • hopcount β€” number of hops into the network. the deeper we go, the bigger this gets 🧚
  • prev β€” the previous RIO device connected to the one being enumerated. the one who came before, holding hands with the new one 🫢
  • prev_port β€” the port on that previous RIO device. yeah. that specific port. 🎯

πŸ’œ DESCRIPTION πŸ’œ

so basically: this function recursively enumerates a RIO network. the transactions get sent via the master port you passed in as port β€” that's it, that's the whole story. she recurses, she enumerates, she slays. and honestly? the way that she just keeps going deeper into the network? main character energy, lowkey. πŸ”₯


🌈 SEE ALSO 🌈

no because the reference list on this one is long, and every single one of them deserves their moment, so here we go β€” kernel file ./drivers/rapidio/rio-scan.c, plus:

like… the whole rapidio squad showed up. we love a supportive community πŸ«ΆπŸ’–


and that's the page!! this cutie lives under ./drivers/rapidio, dated October 2026, and the page itself is rio_enum_peer(9). mwah, go read the source bestie, ily πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from