rte_eth_fc_conf(3)
π rte_eth_fc_conf π
okay bestie, so this one is from the Library Functions Manual β it's rte_eth_fc_conf, and she's a struct, not a function (I know, the name is giving function but she is NOT, so don't come for me π«Ά). Buckle up, we're configuring Ethernet flow control and it's lowkey iconic.
β¨ NAME β¨
rte_eth_fc_conf β the struct that holds all your Ethernet flow control parameters πΈ
π¦ SYNOPSIS π¦
#include <rte_ethdev.h>
π Data Fields π
uint32_t high_wateruint32_t low_wateruint16_t pause_timeuint16_t send_xonenum rte_eth_fc_mode modeuint8_t mac_ctrl_frame_fwduint8_t autoneg
π Detailed Description π
So this is a structure used to configure Ethernet flow control parameter β like, that's literally her whole job, no cap. These parameters get configured straight into the register of the NIC, so it's not vibes-only, it's real hardware, periodt.
β οΈ heads up bestie: please refer to the corresponding data sheet for proper value. Do NOT just make numbers up, I'm begging you π the data sheet is your bestie here.
She's defined at line 1408 of file rte_ethdev.h β iykyk.
π Field Documentation π
πΈ uint32_t high_water
The high threshold value that triggers XOFF π₯
Defined at line 1409 of file rte_ethdev.h.
πΈ uint32_t low_water
The low threshold value that triggers XON β¨
Defined at line 1410 of file rte_ethdev.h.
πΈ uint16_t pause_time
The pause quota that goes inside the Pause frame π
Defined at line 1411 of file rte_ethdev.h.
πΈ uint16_t send_xon
Asks the question: is XON frame need be sent? π (yes, that's the original phrasing, I'm not fixing her, she's perfect)
Defined at line 1412 of file rte_ethdev.h.
πΈ enum rte_eth_fc_mode mode
The link flow control mode π
Defined at line 1413 of file rte_ethdev.h.
πΈ uint8_t mac_ctrl_frame_fwd
Forward MAC control frames β yep, that's the whole thing π¦
Defined at line 1414 of file rte_ethdev.h.
πΈ uint8_t autoneg
Use Pause autoneg, because sometimes you just let the link negotiate for itself, main character energy π
Defined at line 1415 of file rte_ethdev.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code π€ β so nobody hand-wrote this, the robot did it, and honestly? She ate.
and that's the page, bestie!! π sign-off time: this was DPDK, Version 26.03.0, and that's the whole vibe ππ§ββοΈ
π¦ 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