rio_enum_peer(9)
π« 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:
rio_destid_alloc(9)rio_destid_reserve(9)rio_destid_free(9)rio_destid_first(9)rio_destid_next(9)rio_get_device_id(9)rio_set_device_id(9)rio_clear_locks(9)rio_enum_host(9)rio_device_has_destid(9)rio_release_dev(9)rio_is_switch(9)rio_setup_device(9)rio_sport_is_active(9)rio_get_host_deviceid_lock(9)rio_enum_complete(9)rio_disc_peer(9)rio_mport_is_active(9)rio_update_route_tables(9)rio_init_em(9)rio_enum_mport(9)rio_build_route_tables(9)rio_disc_mport(9)rio_basic_attach(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms