---
name: "rio_disc_peer"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/rio_disc_peer"
---

# rio\_disc\_peer(9)

Recursively discovers a RIO network through a master port

## NAME

rio\_disc\_peer - Recursively discovers a RIO network through a master port

## SYNOPSIS

**int rio\_disc\_peer(struct rio\_net \*** *net***, struct rio\_mport \*** *port***, u16** *destid***, u8** *hopcount***, struct rio\_dev \*** *prev***, int** *prev\_port***);**

## ARGUMENTS

*net*

RIO network being discovered

*port*

Master port to send transactions

*destid*

Current destination ID in network

*hopcount*

Number of hops into the network

*prev*

previous rio\_dev

*prev\_port*

previous port number

## DESCRIPTION

Recursively discovers a RIO network. Transactions are sent via the master port passed in *port*.

## AUTHOR

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

Author.

## COPYRIGHT
