rte_port_i..._lb_config(3)
๐ NAME ๐
rte_port_in_action_lb_config โ it's giving load-balance-action-config energy, bestie ๐
she lives in rte_port_in_action.h and she's the per action profile config girlie, no cap.
Also hi, welcome to the rte_port_i..._lb_config(3) page ๐ โ that's the manual name, in case you were wondering why your man invocation was so mysterious about it.
โจ SYNOPSIS โจ
#include <rte_port_in_action.h>
๐ฆ Data Fields ๐ฆ
Okay so she's a struct and these are her fields, in order, exactly like this:
uint32_t key_sizeuint32_t key_offsetuint8_t key_mask [RTE_PORT_IN_ACTION_LB_KEY_SIZE_MAX]rte_table_hash_op_hash f_hashuint64_t seeduint32_t port_id [RTE_PORT_IN_ACTION_LB_TABLE_SIZE]
๐ธ DETAILED DESCRIPTION ๐ธ
Load balance action configuration (per action profile). That's it, that's the whole vibe โ she holds the settings that describe how one load-balance action profile does its thing. ๐
Defined at line 122 of file rte_port_in_action.h.
๐ FIELD DOCUMENTATION ๐
โญ uint32_t key_size
Key size, measured in number of bytes. Literally just how many bytes of key you're working with. ๐
Defined at line 124 of file rte_port_in_action.h.
โญ uint32_t key_offset
Key offset within the input packet buffer. Heads up bestie, offset 0 points to the first byte of the MBUF structure โ not the packet payload, the mbuf itself. Lowkey important, don't skip it. ๐
Defined at line 129 of file rte_port_in_action.h.
โญ uint8_t key_mask[RTE_PORT_IN_ACTION_LB_KEY_SIZE_MAX]
Key mask. Only key_size bytes are valid, so don't get cute with the rest of the array. ๐
Defined at line 132 of file rte_port_in_action.h.
โญ rte_table_hash_op_hash f_hash
Hash function. She's the girl doing the hashing. ๐ฅ
Defined at line 135 of file rte_port_in_action.h.
โญ uint64_t seed
Seed value for f_hash. Feed her the seed, she makes the hashes. ๐ฑ
Defined at line 138 of file rte_port_in_action.h.
โญ uint32_t port_id[RTE_PORT_IN_ACTION_LB_TABLE_SIZE]
Table defining the weight of each pipeline output port. Okay so the weights here are set in 1/RTE_PORT_IN_ACTION_LB_TABLE_SIZE increments โ that's the unit, that's the whole scale. ๐๏ธ
The way this works: to assign a weight of N/RTE_PORT_IN_ACTION_LB_TABLE_SIZE to a given output port, where 0 <= N <= RTE_PORT_IN_ACTION_LB_TABLE_SIZE, the output port needs to show up exactly N times in this table. Exactly. Count her appearances, that's her weight. ๐งฎ
Can be updated later. So she's not locked in forever, she's flexible, we love that for her. ๐ซ
โจ See also โจ struct rte_port_in_action_lb_params
Defined at line 148 of file rte_port_in_action.h.
๐ซถ AUTHOR ๐ซถ
Generated automatically by Doxygen for DPDK from the source code. Not a human, just a robot girlie doing her best, and honestly? She ate. ๐โจ
Okay bestie that's the whole page, mwah ๐ญ๐ โ this was DPDK, Version 25.11.3, and yeah the footer girlie says rte_port_i..._lb_config(3) too, so now you know both halves of the title. Periodt. ๐๐
๐ฆ 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