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