SELECTOR_SIZE(3)
π¦ rte_swx_ta...ctor_params β Library Functions Manual, section 3 π¦
ok so this page is literally all about rte_swx_table_selector_params, bestie, and yes the header truncates the name because terminals are dramatic. it's giving "important C library tea" and honestly? iconic.
β¨ NAME β¨
rte_swx_table_selector_params β the struct you fill out when you're creating a selector table, no cap π
πΈ SYNOPSIS πΈ
#include <rte_swx_table_selector.h>
π Data Fields π
uint32_t group_id_offset
uint32_t selector_size
uint32_t selector_offset
uint8_t * selector_mask
uint32_t member_id_offset
uint32_t n_groups_max
uint32_t n_members_per_group_max
like, that's the whole cast of characters right there. main character energy from every single one π«Ά
π Detailed Description π
Selector table creation parameters.
that's it, that's the vibe β this struct is the guest list you hand over when a selector table is getting built β¨
π Definition at line 25 of file rte_swx_table_selector.h.
π Field Documentation π
π uint32_t group_id_offset
Group ID offset. fr fr, that's what it is π
π Definition at line 27 of file rte_swx_table_selector.h.
π uint32_t selector_size
Selector size in bytes. Must be non-zero β like, do not come in here with a zero, that's not the move π
π Definition at line 30 of file rte_swx_table_selector.h.
π uint32_t selector_offset
Offset of the first byte of the selector within the selector buffer. lowkey the GPS coordinates of your selector π
π Definition at line 33 of file rte_swx_table_selector.h.
π uint8_t* selector_mask
Mask of selector_size bytes logically laid over the bytes at positions selector_offset* .. (selector_offset + selector_size - 1) of the selector buffer, in order to specify which bits from the selector buffer are part of the selector and which ones are not.
ok so the mask is basically the bouncer at the door πͺβ¨ and here's the rule:
- a bit value of 1 in the
selector_maskmeans the respective bit in the selector buffer is part of the selector π - a bit value of 0 means the opposite π
and if you pass a NULL value? that means all the bits are part of the selector, i.e. the selector_mask is an all-ones mask. generous queen behavior honestly π
π Definition at line 43 of file rte_swx_table_selector.h.
π uint32_t member_id_offset
Member ID offset. periodt π
π Definition at line 46 of file rte_swx_table_selector.h.
π uint32_t n_groups_max
Maximum number of groups. Must be non-zero β no empty parties allowed π
π Definition at line 49 of file rte_swx_table_selector.h.
π uint32_t n_members_per_group_max
Maximum number of members per group. Must be non-zero β everybody needs their people, okay? ππ
π Definition at line 52 of file rte_swx_table_selector.h.
β Author β
Generated automatically by Doxygen for DPDK from the source code. not a human, just a robot doing its little robot thing π€β¨
k that's the whole page bestie, you ate that reading session up π π¦
πΈ sign-off szn: this was DPDK, Version 26.03.0, manual page rte_swx_ta...ctor_params(3) β mwah, go build 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