| rio_route_clr_table(9) - phpMan
RIO_ROUTE_CLR_TABLE(9) RapidIO driver interface RIO_ROUTE_CLR_TABLE(9)
NAME
rio_route_clr_table - Clear a switch routing table
SYNOPSIS
int rio_route_clr_table(struct rio_dev * rdev, u16 table, int lock);
ARGUMENTS
rdev
RIO device
table
Routing table ID
lock
apply a hardware lock on switch device flag (1=lock, 0=no_lock)
DESCRIPTION
If available calls the switch specific clr_table method to clear a switch routing table.
Otherwise uses standard RT write method as defined by RapidIO specification. A specific
routing table can be selected using the table argument if a switch has per port routing
tables or the standard (or global) table may be used by passing RIO_GLOBAL_TABLE in table.
Returns 0 on success or -EINVAL on failure.
AUTHOR
Matt Porter <mporter AT kernel.org>, <mporter AT mvista.com>
Author.
COPYRIGHT
Kernel Hackers Manual 4.8. January 2017 RIO_ROUTE_CLR_TABLE(9)
|