rte_eth_fc_conf(3)
π rte_eth_fc_conf β NAME π
okay bestie, say hi to rte_eth_fc_conf β it's a struct, it lives in the DPDK library functions manual, and it's literally the lil control panel you use to set up Ethernet flow control parameters. yes. that one. π
β¨ SYNOPSIS β¨
First, the incantation:
#include <rte_ethdev.h>
π Data Fields π
here's the whole squad, in order, no cap:
uint32_t high_water
uint32_t low_water
uint16_t pause_time
uint16_t send_xon
enum rte_eth_fc_mode mode
uint8_t mac_ctrl_frame_fwd
uint8_t autoneg
π¦ Detailed Description π¦
so like, this is a structure used to configure Ethernet flow control parameters. the way that it works is: these parameters will be configured into the register of the NIC. that's it, that's the job. π
and bestie, please β please β refer to the corresponding data sheet for the proper value. DPDK is not gonna hold your hand on the numbers, and I'm not about to invent any. π
definition vibe check: Definition at line 1408 of file rte_ethdev.h.
πΈ Field Documentation πΈ
every single field, one by one, no skipping, we're doing the whole tour π
uint32_t high_water
High threshold value to trigger XOFF.
Definition at line 1409 of file rte_ethdev.h.
uint32_t low_water
Low threshold value to trigger XON.
Definition at line 1410 of file rte_ethdev.h.
uint16_t pause_time
Pause quota in the Pause frame.
Definition at line 1411 of file rte_ethdev.h.
uint16_t send_xon
Is XON frame need be sent.
Definition at line 1412 of file rte_ethdev.h.
enum rte_eth_fc_mode mode
Link flow control mode.
Definition at line 1413 of file rte_ethdev.h.
uint8_t mac_ctrl_frame_fwd
Forward MAC control frames.
Definition at line 1414 of file rte_ethdev.h.
uint8_t autoneg
Use Pause autoneg.
Definition at line 1415 of file rte_ethdev.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code. iconic behaviour honestly, the docs just generate themselves. π
and that's the whole page bestie!! this was DPDK Version 25.11.3, Library Functions Manual, and yeah it's rte_eth_fc_conf(3) fr fr π«Άβ¨ go set your NIC registers, you got this ππ¦
π¦ 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