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
- ubuntu resolute: dpdk-doc 25.11.3-0ubuntu0.26.04.1 Β· BSD-3-Clause
- ubuntu stonking: dpdk-doc 25.11.3-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms