rio_std_route_clr_table(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… rio_std_route_clr_table(9)

okay bestie, welcome to the Kernel API Manual ✨ today's main character is rio_std_route_clr_table, and its whole vibe is clearing a switch route table using the standard registers defined in RIO specification rev.1.3 πŸŽ€ no cap, that's the whole gig.


🌸 NAME 🌸

rio_std_route_clr_table β€” clear switch route table using standard registers defined in RIO specification rev.1.3. πŸ’–


✨ SYNOPSIS ✨

int rio_std_route_clr_table (struct rio_mport *mport , u16 destid , u8 hopcount , u16 table );

it returns an int, btw πŸ‘‘ lowkey important.


πŸ¦‹ ARGUMENTS πŸ¦‹

  • mport β€” the master port that's gonna issue the transaction πŸ’Œ
  • destid β€” destination ID of the device, aka who we're pulling up on πŸ“¬
  • hopcount β€” number of switch hops to the device 🚏 like how many stops on the route
  • table β€” routing table ID (global or port-specific) πŸ—‚οΈ pick your table, bestie

πŸ”₯ SEE ALSO πŸ”₯

if you're obsessed (and you should be), the kernel file is ./drivers/rapidio/rio.c, and it comes with a whole friend group fr fr: rio_local_get_device_id(9), rio_query_mport(9), rio_alloc_net(9), rio_local_set_device_id(9), rio_add_device(9), rio_request_inb_mbox(9), rio_release_inb_mbox(9), rio_request_outb_mbox(9), rio_release_outb_mbox(9), rio_setup_inb_dbell(9), rio_request_inb_dbell(9), rio_release_inb_dbell(9), rio_request_outb_dbell(9), rio_release_outb_dbell(9), rio_add_mport_pw_handler(9), rio_del_mport_pw_handler(9), rio_request_inb_pwrite(9), rio_release_inb_pwrite(9), rio_pw_enable(9), rio_map_inb_region(9), rio_unmap_inb_region(9), rio_map_outb_region(9), rio_unmap_outb_region(9), rio_mport_get_physefb(9), rio_get_comptag(9), rio_set_port_lockout(9), rio_enable_rx_tx_port(9), rio_chk_dev_route(9), rio_mport_chk_dev_access(9), rio_chk_dev_access(9), rio_get_input_status(9), rio_clr_err_stopped(9), rio_inb_pwrite_handler(9), rio_mport_get_efb(9), rio_mport_get_feature(9), rio_std_route_add_entry(9), rio_std_route_get_entry(9), rio_lock_device(9), rio_unlock_device(9), rio_route_add_entry(9), rio_route_get_entry(9), rio_route_clr_table(9), rio_request_mport_dma(9), rio_release_dma(9), rio_dma_prep_xfer(9), rio_register_scan(9), and rio_mport_scan(9). that's the whole squad, go say hi 🫢


and that's the tea β˜• this little icon was brought to you by ./drivers/rapidio, October 2026 edition β€” periodt πŸ’«

πŸ“¦ where this page comes from