1RIO_ROUTE_GET_ENTRY(9) Internals RIO_ROUTE_GET_ENTRY(9)
2
3
4
6 rio_route_get_entry - Read a route entry in a switch routing table
7
9 int rio_route_get_entry(struct rio_mport * mport,
10 struct rio_switch * rswitch, u16 table,
11 u16 route_destid, u8 * route_port);
12
14 mport
15 Master port to send transaction
16
17 rswitch
18 Switch device
19
20 table
21 Routing table ID
22
23 route_destid
24 Destination ID to be routed
25
26 route_port
27 Pointer to read port number into
28
30 Calls the switch specific get_entry method to read a route entry in a
31 switch. The route table can be specified using the table argument if a
32 switch has per port routing tables or the normal use is to specific all
33 tables (or the global table) by passing RIO_GLOBAL_TABLE in table.
34 Returns 0 on success or -EINVAL on failure.
35
37 Matt Porter <mporter@kernel.crashing.org>, <mporter@mvista.com>
38 Author.
39
41Kernel Hackers Manual 2.6. June 2019 RIO_ROUTE_GET_ENTRY(9)