---
name: "rte_ml_dev_config"
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_ml_dev_config"
---

# rte\_ml\_dev\_config(3)

## NAME

rte\_ml\_dev\_config

## SYNOPSIS

`#include <rte_mldev.h>`

### Data Fields

int **socket\_id**\
 uint16\_t **nb\_models**\
 uint16\_t **nb\_queue\_pairs**\

## Detailed Description

ML device configuration structure

Definition at line **259** of file **rte\_mldev.h**.

## Field Documentation

### int socket\_id

Socket to allocate resources on.

Definition at line **260** of file **rte\_mldev.h**.

### uint16\_t nb\_models

Number of models to be loaded on the device. This value cannot exceed the max\_models which is previously provided in struct **rte\_ml\_dev\_info::max\_models**

Definition at line **262** of file **rte\_mldev.h**.

### uint16\_t nb\_queue\_pairs

Number of queue pairs to configure on this device. This value cannot exceed the max\_models which is previously provided in struct **rte\_ml\_dev\_info::max\_queue\_pairs**

Definition at line **267** of file **rte\_mldev.h**.

## Author

Generated automatically by Doxygen for DPDK from the source code.
