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

NAME

6       rio_route_add_entry - Add a route entry to a switch routing table
7

SYNOPSIS

9       int rio_route_add_entry(struct rio_mport * mport,
10                               struct rio_switch * rswitch, u16 table,
11                               u16 route_destid, u8 route_port);
12

ARGUMENTS

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           Port number to be routed
28

DESCRIPTION

30       Calls the switch specific add_entry method to add a route entry on 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

AUTHOR

37       Matt Porter <mporter@kernel.crashing.org>, <mporter@mvista.com>
38           Author.
39
41Kernel Hackers Manual 2.6.         June 2019            RIO_ROUTE_ADD_ENTRY(9)
Impressum