Enumeration and Discovery
Prev | Chapter 4. Internals | Next

## Enumeration and Discovery

rio_get_device_id — Get the base/extended device id for a device
rio_set_device_id — Set the base/extended device id for a device
rio_local_set_device_id — Set the base/extended device id for a port
rio_clear_locks — Release all host locks and signal enumeration complete
rio_enum_host — Set host lock and initialize host destination ID
rio_device_has_destid — Test if a device contains a destination ID register
rio_release_dev — Frees a RIO device struct
rio_is_switch — Tests if a RIO device has switch capabilities
rio_route_set_ops — Sets routing operations for a particular vendor switch
rio_add_device — Adds a RIO device to the device model
rio_setup_device — Allocates and sets up a RIO device
rio_sport_is_active — Tests if a switch port has an active connection.
rio_route_add_entry — Add a route entry to a switch routing table
rio_route_get_entry — Read a route entry in a switch routing table
rio_get_host_deviceid_lock — Reads the Host Device ID Lock CSR on a device
rio_get_swpinfo_inport — Gets the ingress port number
rio_get_swpinfo_tports — Gets total number of ports on the switch
rio_net_add_mport — Add a master port to a RIO network
rio_enum_peer — Recursively enumerate a RIO network through a master port
rio_enum_complete — Tests if enumeration of a network is complete
rio_disc_peer — Recursively discovers a RIO network through a master port
rio_mport_is_active — Tests if master port link is active
rio_alloc_net — Allocate and configure a new RIO network
rio_update_route_tables — Updates route tables in switches
rio_enum_mport — Start enumeration through a master port
rio_build_route_tables — Generate route tables from switch route entries
rio_enum_timeout — Signal that enumeration timed out
rio_disc_mport — Start discovery through a master port

Prev | Up | Next
struct rio_route_ops | Home | rio_get_device_id