rte_table_..._lb_config(3)
π NAME π
rte_table_action_lb_config β okay bestie, this is the load balance action config struct, and it lives in the DPDK Library Functions Manual π (yes, the rte_table_..._lb_config(3) girlies, that's us).
β¨ SYNOPSIS β¨
#include <rte_table_action.h>
πΈ Data Fields πΈ
uint32_t key_size
uint32_t key_offset
uint8_t key_mask[RTE_TABLE_ACTION_LB_KEY_SIZE_MAX]
rte_table_hash_op_hash f_hash
uint64_t seed
uint32_t out_offset
π¦ Detailed Description π¦
Load balance action configuration β and it's per table action profile, so it's giving very much "configured once, slays everywhere" β¨.
Lowkey iconic detail: the whole thing is defined at line 146 of file rte_table_action.h. Noted, saved, screenshotted πΈ.
π Field Documentation π
uint32_t key_sizeβ the key size, in bytes. That's it, that's the field. Defined at line 148 ofrte_table_action.hπ«Άuint32_t key_offsetβ where the key starts inside the input packet buffer. Heads up queen: offset0points to the first byte of the MBUF structure, not the packet data. Defined at line 153 ofrte_table_action.h.uint8_t key_mask[RTE_TABLE_ACTION_LB_KEY_SIZE_MAX]β the key mask π and only the firstkey_sizebytes are valid β the rest are just vibes. Defined at line 156 ofrte_table_action.h.rte_table_hash_op_hash f_hashβ the hash function. Your fave, your choice, your algorithm π Defined at line 159 ofrte_table_action.h.uint64_t seedβ the seed value forf_hashπ± because every hash function needs a lil starting energy. Defined at line 162 ofrte_table_action.h.uint32_t out_offsetβ where the output value lands inside the input packet buffer. Same rule as before bestie: offset0points to the first byte of the MBUF structure. Defined at line 167 ofrte_table_action.hβ
Fr fr, respect the MBUF offset rule both times βkey_offsetandout_offsetare counting from the top of the MBUF struct, not the payload. No cap. π
π Author π
Generated automatically by Doxygen for DPDK from the source code. So no, a human didn't hand-write this β the robots did, and honestly? They ate π€β¨
Okay that's the whole page bestie, mwah π β this was the rte_table_..._lb_config(3) manpage from DPDK, Version 26.03.0, and we are DONE. Go configure something iconic. ππ
π¦ where this page comes from
- nixos 26.05: dpdk 26.03
- nixpkgs unstable: dpdk 26.03
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms