---
name: "rte_ml_dev_qp_conf"
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_qp_conf"
---

# rte\_ml\_dev\_qp\_conf(3)

## NAME

rte\_ml\_dev\_qp\_conf

## SYNOPSIS

`#include <rte_mldev.h>`

### Data Fields

uint32\_t **nb\_desc**\
 **rte\_ml\_dev\_stop\_flush\_t** **cb**\

## Detailed Description

ML device queue pair configuration structure.

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

## Field Documentation

### uint32\_t nb\_desc

Number of descriptors per queue pair. This value cannot exceed the max\_desc which previously provided in struct **rte\_ml\_dev\_info**:max\_desc

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

### rte\_ml\_dev\_stop\_flush\_t cb

Callback function called during **rte\_ml\_dev\_stop()**, invoked once per active ML op. Value NULL is allowed, in which case callback will not be invoked. This function can be used to properly dispose of outstanding ML ops from all queue pairs, for example ops containing memory pointers.

**See also**

**rte\_ml\_dev\_stop()**

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

## Author

Generated automatically by Doxygen for DPDK from the source code.
