---
name: "rio_mport_get_feature"
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_mport_get_feature"
---

# rio\_mport\_get\_feature(9)

query for devices' extended features

## NAME

rio\_mport\_get\_feature - query for devices' extended features

## SYNOPSIS

**u32 rio\_mport\_get\_feature(struct rio\_mport \*** *port***, int** *local***, u16** *destid***, u8** *hopcount***, int** *ftr***);**

## ARGUMENTS

*port*

Master port to issue transaction

*local*

Indicate a local master port or remote device access

*destid*

Destination ID of the device

*hopcount*

Number of switch hops to the device

*ftr*

Extended feature code

## DESCRIPTION

Tell if a device supports a given RapidIO capability. Returns the offset of the requested extended feature block within the device's RIO configuration space or 0 in case the device does not support it.

## AUTHOR

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

Author.

## COPYRIGHT
