---
name: "rte_eth_pfc_queue_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_eth_pfc_queue_conf"
---

# rte\_eth\_pfc\_queue\_conf(3)

## NAME

rte\_eth\_pfc\_queue\_conf

## SYNOPSIS

`#include <rte_ethdev.h>`

### Data Fields

enum **rte\_eth\_fc\_mode** **mode**\

## Detailed Description

**Warning**

**EXPERIMENTAL:** this API may change, or be removed, without prior notice

A structure used to configure Ethernet priority flow control parameters for ethdev queues.

rte\_eth\_pfc\_queue\_conf::rx\_pause structure shall be used to configure given tx\_qid with corresponding tc. When ethdev device receives PFC frame with rte\_eth\_pfc\_queue\_conf::rx\_pause::tc, traffic will be paused on rte\_eth\_pfc\_queue\_conf::rx\_pause::tx\_qid for that tc.

rte\_eth\_pfc\_queue\_conf::tx\_pause structure shall be used to configure given rx\_qid. When rx\_qid is congested, PFC frames are generated with rte\_eth\_pfc\_queue\_conf::rx\_pause::tc and rte\_eth\_pfc\_queue\_conf::rx\_pause::pause\_time to the peer.

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

## Field Documentation

### enum rte\_eth\_fc\_mode mode

Link flow control mode

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

### uint16\_t tx\_qid

Tx queue ID

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

### uint8\_t tc

Traffic class as per PFC (802.1Qbb) spec. The value must be in the range \[0, rte\_eth\_pfc\_queue\_info::tx\_max - 1\]

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

### uint16\_t pause\_time

Pause quota in the Pause frame

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

### uint16\_t rx\_qid

Rx queue ID

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

## Author

Generated automatically by Doxygen for DPDK from the source code.
