1RIO_ROUTE_GET_ENTRY(9)             Internals            RIO_ROUTE_GET_ENTRY(9)
2
3
4

NAME

6       rio_route_get_entry - Read a route entry in a switch routing table
7

SYNOPSIS

9       int rio_route_get_entry(struct rio_dev * rdev, u16 table,
10                               u16 route_destid, u8 * route_port, int lock);
11

ARGUMENTS

13       rdev
14           RIO device
15
16       table
17           Routing table ID
18
19       route_destid
20           Destination ID to be routed
21
22       route_port
23           Pointer to read port number into
24
25       lock
26           lock switch device flag
27

DESCRIPTION

29       Calls the switch specific get_entry method to read a route entry in a
30       switch. The route table can be specified using the table argument if a
31       switch has per port routing tables or the normal use is to specific all
32       tables (or the global table) by passing RIO_GLOBAL_TABLE in table.
33       Returns 0 on success or -EINVAL on failure.
34

AUTHOR

36       Matt Porter <mporter@kernel.crashing.org>, <mporter@mvista.com>
37           Author.
38
40Kernel Hackers Manual 3.10         June 2019            RIO_ROUTE_GET_ENTRY(9)
Impressum