rte_swx_pi...tor_params(3)

πŸ“¦ version 26.03, in nixos 26.05, nixpkgs unstable

πŸ’… 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_name
  • const char ** selector_field_names
  • uint32_t n_selector_fields
  • const char * member_id_field_name
  • uint32_t n_groups_max
  • uint32_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 the DPDK crew β€” Version 26.03.0 β€” and you'll see it filed under rte_swx_pi...tor_params(3) at the bottom of the page πŸŽ€βœ¨ go build something iconic with it 🫢
πŸ“¦ where this page comes from