1STRUCT RIO_SWITCH(9)               Internals              STRUCT RIO_SWITCH(9)
2
3
4

NAME

6       struct_rio_switch - RIO switch info
7

SYNOPSIS

9       struct rio_switch {
10         struct list_head node;
11         u16 switchid;
12         u16 hopcount;
13         u16 destid;
14         u8 * route_table;
15         int (* add_entry) (struct rio_mport * mport, u16 destid, u8 hopcount,u16 table, u16 route_destid, u8 route_port);
16         int (* get_entry) (struct rio_mport * mport, u16 destid, u8 hopcount,u16 table, u16 route_destid, u8 * route_port);
17       };
18

MEMBERS

20       node
21           Node in global list of switches
22
23       switchid
24           Switch ID that is unique across a network
25
26       hopcount
27           Hopcount to this switch
28
29       destid
30           Associated destid in the path
31
32       route_table
33           Copy of switch routing table
34
35       add_entry
36           Callback for switch-specific route add function
37
38       get_entry
39           Callback for switch-specific route get function
40

AUTHOR

42       Matt Porter <mporter@kernel.crashing.org>, <mporter@mvista.com>
43           Author.
44
46Kernel Hackers Manual 2.6.         June 2019              STRUCT RIO_SWITCH(9)
Impressum