struct rio_switch — RIO switch info
struct rio_switch { struct list_head node; u16 switchid; u16 hopcount; u16 destid; u8 route_table[RIO_MAX_ROUTE_ENTRIES]; int (* add_entry) (struct rio_mport * mport, u16 destid, u8 hopcount,u16 table, u16 route_destid, u8 route_port); int (* get_entry) (struct rio_mport * mport, u16 destid, u8 hopcount,u16 table, u16 route_destid, u8 * route_port); };
Node in global list of switches
Switch ID that is unique across a network
Hopcount to this switch
Associated destid in the path
Copy of switch routing table
Callback for switch-specific route add function
Callback for switch-specific route get function