rte_pipeline_params(3)

πŸ’– rte_pipeline_params(3) πŸ’–

okay bestie, so this is a Library Functions Manual page for rte_pipeline_params and it's literally just a lil struct that holds the settings you hand over when you're building a pipeline. no cap, tiny page, but every field matters. let's get into it 🫢


✨ NAME ✨

rte_pipeline_params β€” the parameter struct for pipeline creation, and yes she's the whole page 🌸


✨ SYNOPSIS ✨

#include <rte_pipeline.h>

πŸŽ€ Data Fields

  • const char * name
  • int socket_id
  • uint32_t offset_port_id

✨ Detailed Description ✨

So like, this struct is Parameters for pipeline creation. that's the vibe. that's her job. πŸ’…

for the record: Definition at line 71 of file rte_pipeline.h.

✨ Field Documentation ✨

🌟 const char* name

Pipeline name 🏷️ β€” it's the name, bestie, that's it, that's the field.

Definition at line 73 of file rte_pipeline.h.

🌟 int socket_id

CPU socket ID β€” this is where the memory for the pipeline and all its elements (that means ports and tables, both of them) should be allocated. pick your socket wisely, it's giving main character energy πŸ‘‘

Definition at line 77 of file rte_pipeline.h.

🌟 uint32_t offset_port_id

Offset within packet meta-data to port_id</...> wait no, let me say it properly:

it's the offset within the packet meta-data to the port_id, and that port_id is the one used by the action "Send packet to output port read from packet meta-data" ✨

and listen β€” it has to be 4-byte aligned. not optional. don't try it. 🫠

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, the robot did it, and honestly she ate πŸ€–πŸ’–


k that's the whole page, go build your pipeline, and remember: this was brought to you by DPDK, Version 25.11.3 🌈✨ mwah, bye bestie πŸ’œπŸ¦‹

πŸ“¦ where this page comes from