RTE_PIPELINE_PORT_IN_PARAMS(3)

πŸ’– NAME πŸ’–

rte_pipeline_port_in_params β€” bestie, this is literally the little struct that holds all the deets you need to spin up a pipeline input port ✨


🌸 SYNOPSIS 🌸

#include <rte_pipeline.h>

πŸŽ€ Data Fields πŸŽ€

struct rte_port_in_ops * ops
void * arg_create
rte_pipeline_port_in_action_handler f_action
void * arg_ah
uint32_t burst_size

πŸ¦‹ Detailed Description πŸ¦‹

Okay so real talk: this thing is the parameters for pipeline input port creation. That's it, that's the whole vibe. It's giving "here's everything you gotta hand over so your input port can be born" πŸ‘‘

Definition at line 562 of file rte_pipeline.h.

✨ Field Documentation ✨

πŸ’… struct rte_port_in_ops* ops

The input port operations, and no cap, these are specific to each table type β€” so like, don't just grab any ops struct and hope for the best, mmmkay? πŸ™ˆ

Definition at line 564 of file rte_pipeline.h.

πŸ“ void* arg_create

An opaque parameter that gets passed to the create operation when it's invoked. Opaque means you know what's inside it, the API does not, and honestly? Respect the mystery πŸ’œ

Definition at line 566 of file rte_pipeline.h.

🧚 rte_pipeline_port_in_action_handler f_action

The callback function to execute the user actions on input packets. And here's the important part bestie, write it down: it is disabled if set to NULL. No callback, no actions, periodt πŸ’€

Definition at line 570 of file rte_pipeline.h.

⭐ void* arg_ah

Another opaque parameter, this one gets passed to the action handler when it's invoked. Yes it's twins with arg_create in spirit but they go to different places, do not mix them up 🫢

Definition at line 572 of file rte_pipeline.h.

πŸ”₯ uint32_t burst_size

The recommended burst size for the RX operation, measured in number of pkts. Recommended, babe, not enforced β€” but like, it's a recommendation for a reason 🌈

Definition at line 575 of file rte_pipeline.h.

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for DPDK from the source code. (Not a human, just a very diligent robot doing its little documentation homework πŸŽ€)


That's the whole page, bestie β€” no notes, you ate it πŸ’…βœ¨ This was DPDK Version 25.11.3, and rte_pipeline_port_in_params said goodnight 😭🌟

πŸ“¦ where this page comes from