rte_pipeli...out_params(3)

πŸ’– rte_pipeline_port_out_params(3) πŸ’–

okay bestie, so this is a libc-style (well, DPDK library functions) manual page, and today's main character is rte_pipeline_port_out_params ✨ it's giving "struct of parameters" energy and honestly? we're obsessed. πŸŽ€


🌸 NAME 🌸

rte_pipeline_port_out_params β€” the parameter struct for creating a pipeline output port, no cap πŸ’…


✨ SYNOPSIS ✨

First things first, you gotta pull in the header, periodt:

#include <rte_pipeline.h>

πŸ¦‹ Data Fields πŸ¦‹

Here's the whole squad, laid out exactly how the original lists them:

struct rte_port_out_ops * ops
void * arg_create
rte_pipeline_port_out_action_handler f_action
void * arg_ah

πŸ’œ Detailed Description πŸ’œ

These are the parameters for pipeline output port creation, bestie. 🫢

Now the important bit β€” the action handlers are a package deal: they have to be either both enabled or both disabled, and you disable them by setting them to NULL. That's not a suggestion, that's the rules. πŸ”₯

When they are enabled, the pipeline picks between the two of them at different moments, depending on how many packets have to be sent to the same output port. It's giving "runtime vibe check" 😭

Definition at line 697 of file rte_pipeline.h. (yes, we're citing our sources, we're not messy πŸ’€)

πŸŽ€ Field Documentation πŸŽ€

⭐ struct rte_port_out_ops* ops

Output port operations β€” and these are specific to each table type, so don't go mixing them up. iykyk πŸ’…

Definition at line 699 of file rte_pipeline.h.

⭐ void* arg_create

An opaque parameter that gets passed along to the create operation when it's invoked. Mystery box energy, but make it C. πŸ™ˆ

Definition at line 701 of file rte_pipeline.h.

⭐ rte_pipeline_port_out_action_handler f_action

The callback function that executes the user actions on bust of input packets. ✨

Definition at line 705 of file rte_pipeline.h.

⭐ void* arg_ah

Another opaque parameter, this time passed to the action handler when it's invoked. πŸ¦‹

Definition at line 707 of file rte_pipeline.h.

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for DPDK from the source code. Not a human writing this one, it's a whole robot doing the most, and honestly? slay. πŸ€–πŸ’–


so yeah, that's the whole page bestie β€” every field, every line number, every definition, all sitting pretty. πŸ“

DPDK β€” Version 25.11.3 πŸ’œ mwah, go build something iconic with it 🧚✨

πŸ“¦ where this page comes from