rte_eth_cman_config(3)
π rte_eth_cman_config π
okay bestie, sit down, grab a strawberry π β this one's a struct, not a function, and it lives in the DPDK library functions crew (3), so if you were looking for something to call, this is more like the little form you fill out and hand over. it's giving "permission slip but for congestion". π
β¨ NAME β¨
rte_eth_cman_config β the structure you use to configure ethdev congestion management, no cap.
πΈ SYNOPSIS πΈ
#include <rte_ethdev.h>
Data Fields β that's the whole roster:
enum rte_eth_cman_obj obj
enum rte_cman_mode mode
(yes, the synopsis keeps it short and mysterious β the full field list is further down, keep scrolling π«Ά)
π DETAILED DESCRIPTION π
β οΈ Warning β EXPERIMENTAL: this structure may change, or be removed, without prior notice. bestie. it might get deleted. don't build your whole personality on it π
A structure used to configure the ethdev congestion management.
Literally defined at line 6103 of the file rte_ethdev.h. that's its home address, iconic.
π§ FIELD DOCUMENTATION π§
okay so here's every single field, in order, with everything it says. no skipping, we don't do that here π
enum rte_eth_cman_obj objβ congestion management object. Definition at line6105ofrte_ethdev.h.enum rte_cman_mode modeβ congestion management mode. Definition at line6107ofrte_ethdev.h.uint16_t rx_queueβ the Rx queue to configure congestion management on. Valid when the object isRTE_ETH_CMAN_OBJ_RX_QUEUEorRTE_ETH_CMAN_OBJ_RX_QUEUE_MEMPOOL. Definition at line6115ofrte_ethdev.h.uint8_t rsvd_obj_params[4]β reserved for future fields, so hands off π. It must be set to0whenrte_eth_cman_config_set()is invoked, and it will be returned as0whenrte_eth_cman_config_get()is invoked. Definition at line6122ofrte_ethdev.h.struct rte_cman_red_params redβ RED configuration parameters. Valid when the mode isRTE_CMAN_RED. Definition at line6130ofrte_ethdev.h.uint8_t rsvd_mode_params[4]β also reserved for future fields (the mode-flavoured one this time β¨). It must be set to0whenrte_eth_cman_config_set()is invoked, and it will be returned as0whenrte_eth_cman_config_get()is invoked. Definition at line6137ofrte_ethdev.h.
π¨ reminder bestie: bothrsvd_obj_paramsandrsvd_mode_paramswant a big fat0on the setter side, and they'll come back as0on the getter side. don't get cute with them.
π AUTHOR π
Generated automatically by Doxygen for DPDK from the source code. so technically not a human author, it's giving robot ghostwriter π»βοΈ
that's the whole page, periodt. this lil legend came from DPDK Version 25.11.3 and the manual is dated accordingly β so go forth, configure your congestion management, and slay π ππ¦
π¦ 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