rte_eth_pfc_queue_conf(3)

πŸ“¦ version 26.03, in nixos 26.05, nixpkgs unstable

πŸ’– 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