rte_eth_pfc_queue_conf(3)
π NAME π
rte_eth_pfc_queue_conf β ok bestie, this is the rte_eth_pfc_queue_conf(3) page from the Library Functions Manual, and it's literally the struct you use to set up Ethernet priority flow control params for ethdev queues π
β¨ SYNOPSIS β¨
#include <rte_ethdev.h>
π«Ά Data Fields
enum rte_eth_fc_mode mode
πΈ DETAILED DESCRIPTION πΈ
β οΈ Warning, fr fr: EXPERIMENTAL β this API may change, or be removed, without prior notice. No cap, don't build your whole personality on it staying the same π
So. A structure used to configure Ethernet priority flow control parameters for ethdev queues. That's the whole vibe π
rte_eth_pfc_queue_conf::rx_pause structure shall be used to configure given tx_qid with corresponding tc. When the ethdev device receives a 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 1460 of file rte_ethdev.h.
π FIELD DOCUMENTATION π
π enum rte_eth_fc_mode mode
Link flow control mode.
Definition at line 1461 of file rte_ethdev.h.
π uint16_t tx_qid
Tx queue ID.
Definition at line 1464 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] β yes, that's a real range check, respect it π
Definition at line 1468 of file rte_ethdev.h.
π§ uint16_t pause_time
Pause quota in the Pause frame.
Definition at line 1472 of file rte_ethdev.h.
β uint16_t rx_qid
Rx queue ID.
Definition at line 1473 of file rte_ethdev.h.
π AUTHOR π
Generated automatically by Doxygen for DPDK from the source code β not me, a robot did it, iconic honestly π€
ok that's the whole page, mwah π
DPDK β Version 26.03.0 πΈ that's the source and version bestie, and the date on the original footer line is just the rte_eth_pfc_queue_conf(3) manual tag itself, so consider it signed, sealed, slayed π«Άβ¨
π¦ where this page comes from
- nixos 26.05: dpdk 26.03
- nixpkgs unstable: dpdk 26.03
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms