rio_route_get_entry(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ rio_route_get_entry(9) πŸ¦‹

okay so welcome to the Kernel API Manual page for rio_route_get_entry, bestie β€” this is the little function that reads one entry out of a switch routing table, and it's honestly giving useful-core energy πŸ’…

✨ NAME ✨

rio_route_get_entry β€” read an entry from a switch routing table. that's it, that's the name, no cap πŸŽ€

🌸 SYNOPSIS 🌸

int rio_route_get_entry (struct rio_dev *rdev , u16 table , u16
       route_destid , u8 *route_port , int lock );

πŸ’– ARGUMENTS πŸ’–

  • rdev β€” the RIO device, obvi πŸ¦‹
  • table β€” the routing table ID
  • route_destid β€” the destination ID to be routed
  • route_port β€” pointer to read the port number into
  • lock β€” apply a hardware lock on switch device flag (1=lock, 0=no_lock)

πŸ‘‘ DESCRIPTION πŸ‘‘

so here's the tea: if it's available, this calls the switch specific get_entry method to fetch a route entry from a switch routing table. otherwise it uses the standard RT read method as defined by the RapidIO specification πŸ”₯

a specific routing table can be selected using the table argument if a switch has per port routing tables, or the standard (or global) table may be used by passing RIO_GLOBAL_TABLE in table ✨

returns 0 on success or -EINVAL on failure. periodt πŸ’…

🌈 SEE ALSO 🌈

the rapidio bestie squad, assembled:


and that's the whole page, bestie 🫢 source/location: ./drivers/rapidio; date stamp: October 2026; page: rio_route_get_entry(9). byeee πŸ’œ

πŸ“¦ where this page comes from