Read switch route table entry (port number) associated with specified destid using standard registers defined in rio specification rev.1.3
int rio_std_route_get_entry(struct rio_mport * mport, u16 destid, u8 hopcount, u16 table, u16 route_destid, u8 * route_port);
mport
Master port to issue transaction
destid
Destination ID of the device
hopcount
Number of switch hops to the device
table
routing table ID (global or port-specific)
route_destid
destID entry in the RT
route_port
returned destination port for specified destID
Matt Porter <[email protected]>, <[email protected]>
Author.