---
name: "rio_disc_mport"
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_mport"
---

# rio\_disc\_mport(9)

Start discovery through a master port

## NAME

rio\_disc\_mport - Start discovery through a master port

## SYNOPSIS

**int rio\_disc\_mport(struct rio\_mport \*** *mport***, u32** *flags***);**

## ARGUMENTS

*mport*

Master port to send transactions

*flags*

discovery control flags

## DESCRIPTION

Starts the discovery process. If we have an active link, then wait for the signal that enumeration is complete (if wait is allowed). When enumeration completion is signaled, start recursive peer discovery. Returns **0** if discovery succeeds or **-EBUSY** on failure.

## AUTHOR

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

Author.

## COPYRIGHT
