---
name: "rte_devargs"
section: "3"
platform: "linux"
package: "dpdk-doc"
version: "24.11.4-0+deb13u1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/rte_devargs"
---

# rte\_devargs(3)

## NAME

rte\_devargs

## SYNOPSIS

`#include <rte_devargs.h>`

### Public Member Functions

**RTE\_TAILQ\_ENTRY** (**rte\_devargs**) next\

### Data Fields

enum **rte\_devtype** **type**\
 enum **rte\_dev\_policy** **policy**\
 char **name** \[RTE\_DEV\_NAME\_MAX\_LEN\]\
 struct rte\_bus \* **bus**\
 struct **rte\_class** \* **cls**\
 const char \* **bus\_str**\
 const char \* **cls\_str**\
 char \* **data**\

## Detailed Description

Structure that stores a device given by the user with its arguments

A user device is a physical or a virtual device given by the user to the DPDK application at startup through command line arguments.

The structure stores the configuration of the device, its PCI identifier if it's a PCI device or the driver name if it's a virtual device.

Definition at line **72** of file **rte\_devargs.h**.

## Member Function Documentation

### RTE\_TAILQ\_ENTRY (rte\_devargs)

Next in list.

## Field Documentation

### enum rte\_devtype type

Type of device.

Definition at line **76** of file **rte\_devargs.h**.

### enum rte\_dev\_policy policy

Device policy.

Definition at line **78** of file **rte\_devargs.h**.

### char name\[RTE\_DEV\_NAME\_MAX\_LEN\]

Name of the device.

Definition at line **80** of file **rte\_devargs.h**.

### const char\* args

legacy name.

Definition at line **82** of file **rte\_devargs.h**.

### const char\* drv\_str

driver-related part of device string.

Definition at line **83** of file **rte\_devargs.h**.

### struct rte\_bus\* bus

bus handle.

Definition at line **85** of file **rte\_devargs.h**.

### struct rte\_class\* cls

class handle.

Definition at line **86** of file **rte\_devargs.h**.

### const char\* bus\_str

bus-related part of device string.

Definition at line **87** of file **rte\_devargs.h**.

### const char\* cls\_str

class-related part of device string.

Definition at line **88** of file **rte\_devargs.h**.

### char\* data

raw string including bus, class and driver parts.

Definition at line **89** of file **rte\_devargs.h**.

## Author

Generated automatically by Doxygen for DPDK from the source code.
