Scroll to navigation

RIO_STD_ROUTE_GET_EN(9) Internals RIO_STD_ROUTE_GET_EN(9)

NAME

rio_std_route_get_entry - Read switch route table entry (port number) associated with specified destID using standard registers defined in RIO specification rev.1.3

SYNOPSIS

int rio_std_route_get_entry(struct rio_mport * mport, u16 destid, u8 hopcount, u16 table, u16 route_destid, u8 * route_port);

ARGUMENTS

struct rio_mport * mport
Master port to issue transaction

u16 destid

Destination ID of the device

u8 hopcount

Number of switch hops to the device

u16 table

routing table ID (global or port-specific)

u16 route_destid

destID entry in the RT

u8 * route_port

returned destination port for specified destID

AUTHOR

Matt Porter <mporter@kernel.crashing.org>, <mporter@mvista.com>
Author.

COPYRIGHT

September 2017 Kernel Hackers Manual 4.12