rte_pipeline_params(3)
πΈ NAME πΈ
rte_pipeline_params β bestie, this is the struct you fill out when you're setting up a pipeline, and it's literally the whole vibe check for that creation π
β¨ SYNOPSIS β¨
#include <rte_pipeline.h>
π Data Fields π
const char * nameint socket_iduint32_t offset_port_id
π¦ DESCRIPTION π¦
Okay so this struct is the parameters for pipeline creation π like, it's what you hand over when you want a pipeline to exist and you're telling the library where it should live and what to call itself.
Fr fr, this is Definition at line 71 of file rte_pipeline.h β go touch grass in the header if you want to see it in the wild π«Ά
π§ FIELD DOCUMENTATION π§
β const char* name
Pipeline name β¨ That's it, that's the field. Give the girl a name π
Definition at line 73 of file rte_pipeline.h.
π int socket_id
The CPU socket ID where memory for the pipeline and its elements (ports and tables) should be allocated π§ β¨ So yes, not just the pipeline itself β the ports and the tables get parked on that socket too, iykyk.
Definition at line 77 of file rte_pipeline.h.
π₯ uint32_t offset_port_id
The offset within packet meta-data to port_id, and this is the one to be used by the action "Send packet to output port read from packet meta-data" π―
β οΈ Warning bestie: it has to be 4-byte aligned. No cap. Misalign it and you're gonna have a bad time π
Definition at line 82 of file rte_pipeline.h.
π AUTHOR π
Generated automatically by Doxygen for DPDK from the source code π«‘ so nobody hand-wrote this and nobody's taking credit, that's just how the docs pipeline rolls.
And that's the whole page, bestie π Big sign-off energy: this bad boy is from the DPDK docs, Version 26.03.0, and the footer's manual name is rte_pipeline_params(3) β no date on this one, so don't come for me π π
π¦ 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