rte_eth_fc_conf(3)

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

πŸ’… 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_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 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