rte_eth_pfc_queue_conf(3)
π rte_eth_pfc_queue_conf π
okay bestie, welcome to the rte_eth_pfc_queue_conf(3) page from the Library Functions Manual β this is the glow-up guide to a lil struct that handles priority flow control for ethdev queues, and yes it's giving very niche, very important, very experimental. π¦
β¨ NAME β¨
rte_eth_pfc_queue_conf β that's her, that's the name, periodt. π
π SYNOPSIS π
#include <rte_ethdev.h>
πΈ Data Fields πΈ
enum rte_eth_fc_mode modeβ the one field, the moment, the icon.
π Detailed Description π
β οΈ Warning β EXPERIMENTAL: this API may change, or be removed, without prior notice. Like, fr fr, no warning text, no heads up, just gone. Plan accordingly bestie. π
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 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. no cap, that's literally how it works.
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. she's telling the peer to chill. iconic behaviour honestly.
Definition at line 1460 of file rte_ethdev.h.
β Field Documentation β
π enum rte_eth_fc_mode mode
Link flow control mode. that's it, that's the whole description, she's concise and she knows it.
Definition at line 1461 of file rte_ethdev.h.
π«Ά uint16_t tx_qid
Tx queue ID. short, sweet, slay.
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].
π¨ bestie PLS respect that range, we are not out here freelancing with values outside [0, rte_eth_pfc_queue_info::tx_max - 1], that's not the move.
Definition at line 1468 of file rte_ethdev.h.
π uint16_t pause_time
Pause quota in the Pause frame. the amount of "girl pause β" being communicated.
Definition at line 1472 of file rte_ethdev.h.
π§ uint16_t rx_qid
Rx queue ID. yeah, twin of tx_qid, different side of the conversation.
Definition at line 1473 of file rte_ethdev.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code. not a human, just a robot doing its little thing and honestly? ate. π
aaaand that's the page!! ty for coming to my TED talk, this was rte_eth_pfc_queue_conf(3) from DPDK, Version 25.11.3 β go forth and configure those queues responsibly, mwah ππ·β¨
π¦ where this page comes from
- ubuntu resolute: dpdk-doc 25.11.3-0ubuntu0.26.04.1 Β· BSD-3-Clause
- ubuntu stonking: dpdk-doc 25.11.3-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms