---
name: "rte_eth_desc_lim"
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_eth_desc_lim"
---

# rte\_eth\_desc\_lim(3)

## NAME

rte\_eth\_desc\_lim

## SYNOPSIS

`#include <rte_ethdev.h>`

### Data Fields

uint16\_t **nb\_max**\
 uint16\_t **nb\_min**\
 uint16\_t **nb\_align**\
 uint16\_t **nb\_seg\_max**\
 uint16\_t **nb\_mtu\_seg\_max**\

## Detailed Description

A structure contains information about HW descriptor ring limitations.

Definition at line **1333** of file **rte\_ethdev.h**.

## Field Documentation

### uint16\_t nb\_max

Max allowed number of descriptors.

Definition at line **1334** of file **rte\_ethdev.h**.

### uint16\_t nb\_min

Min allowed number of descriptors.

Definition at line **1335** of file **rte\_ethdev.h**.

### uint16\_t nb\_align

Number of descriptors should be aligned to.

Definition at line **1336** of file **rte\_ethdev.h**.

### uint16\_t nb\_seg\_max

Max allowed number of segments per whole packet.

- •

  For TSO packet this is the total number of data descriptors allowed by device.

**See also**

**nb\_mtu\_seg\_max**

Definition at line **1346** of file **rte\_ethdev.h**.

### uint16\_t nb\_mtu\_seg\_max

Max number of segments per one MTU.

- •

  For non-TSO packet, this is the maximum allowed number of segments in a single transmit packet.

- •

  For TSO packet each segment within the TSO may span up to this value.

**See also**

**nb\_seg\_max**

Definition at line **1359** of file **rte\_ethdev.h**.

## Author

Generated automatically by Doxygen for DPDK from the source code.
