rte_eth_cman_config(3)

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

πŸ’… NAME πŸ’…

rte_eth_cman_config β€” bestie, this is the struct you use to configure ethdev congestion management, and it lives in the Library Functions Manual, okurrr? πŸŽ€


✨ SYNOPSIS ✨

#include <rte_ethdev.h>

🌸 Data Fields 🌸

  • enum rte_eth_cman_obj obj
  • enum rte_cman_mode mode

πŸ¦‹ Detailed Description πŸ¦‹

⚠️ Warning β€” EXPERIMENTAL: this structure may change, or be removed, without prior notice. No cap, it can literally vanish on you 😭 so don't get too attached.

A structure used to configure the ethdev congestion management. It's giving "I manage the traffic so your queues don't absolutely lose it" πŸ’…

Definition at line 6103 of file rte_ethdev.h.


πŸ‘‘ Field Documentation πŸ‘‘

πŸ“ enum rte_eth_cman_obj obj

Congestion management object. Yeah. That's the whole description. Short and iconic ✨

Definition at line 6105 of file rte_ethdev.h.

🧚 enum rte_cman_mode mode

Congestion management mode β€” the vibe you're putting the congestion management in πŸ”₯

Definition at line 6107 of file rte_ethdev.h.

🌈 uint16_t rx_queue

Rx queue to configure congestion management. This one only pulls its weight when obj is RTE_ETH_CMAN_OBJ_RX_QUEUE or RTE_ETH_CMAN_OBJ_RX_QUEUE_MEMPOOL β€” otherwise it's just sitting there, main character energy with no screentime πŸ™ˆ

Definition at line 6115 of file rte_ethdev.h.

⭐ uint8_t rsvd_obj_params[4]

Reserved for future fields. It must be set to 0 when rte_eth_cman_config_set() is invoked, and it will be returned as 0 when rte_eth_cman_config_get() is invoked. Zero it out, bestie, that's the whole assignment πŸ’€

Definition at line 6122 of file rte_ethdev.h.

πŸ’œ struct rte_cman_red_params red

RED configuration parameters. Valid when mode is RTE_CMAN_RED. Okay RED mode ate, lowkey πŸ“

Definition at line 6130 of file rte_ethdev.h.

🫢 uint8_t rsvd_mode_params[4]

Reserved for future fields. It must be set to 0 when rte_eth_cman_config_set() is invoked, and it will be returned as 0 when rte_eth_cman_config_get() is invoked. Same rules as its twin up there β€” zeroes only, periodt πŸ’…

Definition at line 6137 of file rte_ethdev.h.


πŸŽ€ Author πŸŽ€

Generated automatically by Doxygen for DPDK from the source code. Not a human, just a very thorough little robot πŸ€–βœ¨


okay bye bestie, that's the whole struct β€” go forth and configure your congestion management responsibly πŸ’–

πŸ¦‹ DPDK, Version 26.03.0 πŸ¦‹ β€” that's the version, that's the project, and this page was served to you fresh from the rte_eth_cman_config(3) manual. Slay πŸ’…πŸŽ€

πŸ“¦ where this page comes from