rte_table_..._lb_config(3)
π rte_table_..._lb_config(3) π
okay bestie, welcome to the Library Functions Manual entry for rte_table_..._lb_config(3) β yes the title has dots in it, that's just how Doxygen does, we don't question it, we respect it π
β¨ NAME β¨
rte_table_action_lb_config β the load-ballance action config struct, and yes we're pronouncing it like that now π
πΈ SYNOPSIS πΈ
#include <rte_table_action.h>
π¦ Data Fields π¦
uint32_t key_sizeuint32_t key_offsetuint8_t key_mask[RTE_TABLE_ACTION_LB_KEY_SIZE_MAX]rte_table_hash_op_hash f_hashuint64_t seeduint32_t out_offset
π Detailed Description π
so this is the load balance action configuration β and it's per table action profile, meaning every action profile gets its own lil copy, no sharing, main character energy only π
Definition at line 146 of file rte_table_action.h.
π₯ Field Documentation π₯
π« uint32_t key_size
key size, bestie β as in the number of bytes, that's the unit, don't come at me with bits π
Definition at line 148 of file rte_table_action.h.
π« uint32_t key_offset
where the key starts, as an offset within the input packet buffer. And listen β offset 0 points to the first byte of the MBUF structure, not the packet payload, not the headers, the MBUF itself. write that down. tattoo it. π
Definition at line 153 of file rte_table_action.h.
π« uint8_t key_mask[RTE_TABLE_ACTION_LB_KEY_SIZE_MAX]
the key mask, queen π and the important bit: only key_size bytes are valid. the rest of that array is just vibes, do not read it, do not trust it, look away π
Definition at line 156 of file rte_table_action.h.
π« rte_table_hash_op_hash f_hash
your hash function. literally just the function pointer, that's the whole tea β
Definition at line 159 of file rte_table_action.h.
π« uint64_t seed
the seed value for f_hash. feed it to your hash function and let it cook π₯
Definition at line 162 of file rte_table_action.h.
π« uint32_t out_offset
where the output value goes β an offset within the input packet buffer. Same rules as before, no cap: offset 0 points to the first byte of the MBUF structure. it's giving symmetry, it's giving consistency π
Definition at line 167 of file rte_table_action.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code. so no human wrote this, a robot did, and honestly? it ate π€β¨
and that's the whole page bestie, we did it, we read a struct together π«Ά
this was DPDK, Version 25.11.3, manual section rte_table_..._lb_config(3) β go forth and load balance, ily, bye ππ
π¦ 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