rte_table_..._lb_params(3)
π NAME π
rte_table_action_lb_params β bestie, this is the load-balancing action params struct, and it's literally the one that decides where your packets go. Periodt.
β¨ SYNOPSIS β¨
#include <rte_table_action.h>
π Data Fields
uint32_t out [RTE_TABLE_ACTION_LB_TABLE_SIZE]
πΈ Detailed Description πΈ
Load balance action parameters (per table rule).
Okay so this is per table rule β meaning every rule gets its own lil copy of this vibe. π¦
Definition at line 171 of file rte_table_action.h.
π Field Documentation π
π uint32_t out[RTE_TABLE_ACTION_LB_TABLE_SIZE]
Table defining the output values and their weights. Like, this array is the weighting system, no cap. π
The weights are set in 1/RTE_TABLE_ACTION_LB_TABLE_SIZE increments β so that's your smallest possible unit of "how much does this one count".
To assign a weight of N/RTE_TABLE_ACTION_LB_TABLE_SIZE to a given output value (where 0 <= N <= RTE_TABLE_ACTION_LB_TABLE_SIZE), the same output value needs to show up exactly N times in this table. Yep β duplicates are the whole point. You're not deduping, you're stacking. π
So if you want something to get a big slice of the traffic pie, you write it in a bunch. If you want it to get almost nothing, you write it in almost never. Zero times = zero weight, iconic.
Definition at line 178 of file rte_table_action.h.
π«Ά Author π«Ά
Generated automatically by Doxygen for DPDK from the source code.
(Not a human author, bestie β it's a robot doing its little robot thing. π€β¨)
That's the whole page, fr fr. This bad boy came from DPDK, Version 25.11.3 π β go forth and load-balance responsibly, you absolute main character. π
π¦ 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