rte_swx_pi...tor_params(3)
π NAME π
rte_swx_pipeline_selector_params β bestie, this is the struct that holds all the params for a pipeline selector table π
(the page header says rte_swx_pi...tor_params(3) and the manual is Library Functions Manual, but like... we both know the actual name now, so we're good β¨)
β¨ SYNOPSIS β¨
#include <rte_swx_pipeline.h>
πΈ Data Fields πΈ
const char * group_id_field_nameconst char ** selector_field_namesuint32_t n_selector_fieldsconst char * member_id_field_nameuint32_t n_groups_maxuint32_t n_members_per_group_max
π Detailed Description π
okay so this whole thing is literally just Pipeline selector table parameters β the lil bundle of settings you hand over when you're setting up a selector table in a pipeline π«Ά
π Fun fact for the group chat: it's Definition at line 752 of file rte_swx_pipeline.h. Write that down, iykyk π
π¦ Field Documentation π¦
π const char* group_id_field_name π
The group ID field π. This one gets input into the selection operation.
β οΈ Restriction alert: this field must be a meta-data field. No exceptions, no cap π«
Definition at line 756 of file rte_swx_pipeline.h.
π const char** selector_field_names π
The set of fields used to select β through a hashing scheme β the member inside the current group. These are the inputs into the selection operation π₯
β οΈ Restriction, and it's kinda specific so listen up: all the selector fields must be part of the same struct, i.e. part of the same header or part of the meta-data structure. They literally have to be siblings, periodt π
Definition at line 763 of file rte_swx_pipeline.h.
β uint32_t n_selector_fields β
The number of selector fields. Must be non-zero β zero is not it, bestie π
Definition at line 766 of file rte_swx_pipeline.h.
π const char* member_id_field_name π
The member ID field π. This one is the output from the selection operation.
β οΈ Restriction again: this field must be a meta-data field. Same energy as the group ID field, fr fr.
Definition at line 771 of file rte_swx_pipeline.h.
π§ uint32_t n_groups_max π§
Maximum number of groups. Must be non-zero β¨
Definition at line 774 of file rte_swx_pipeline.h.
π uint32_t n_members_per_group_max π
Maximum number of members per group. Must be non-zero πΈ
Definition at line 777 of file rte_swx_pipeline.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code. Not me writing it by hand, the robots did that one ππ€
okay that's the whole page, mwah π
π Sign-off: this lil masterpiece comes to you from theDPDKcrew β Version 26.03.0 β and you'll see it filed underrte_swx_pi...tor_params(3)at the bottom of the page πβ¨ go build something iconic with it π«Ά
π¦ 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