ARG_AH(3)
β¨ NAME β¨
rte_pipeline_port_in_params β okay bestie, this is a struct, and it's literally the whole vibe checklist for creating a pipeline input port π This page lives in the Library Functions Manual, and it's all about the DPDK pipeline library, so let's go π
β¨ SYNOPSIS β¨
#include <rte_pipeline.h>
πΈ Data Fields
struct rte_port_in_ops * opsvoid * arg_createrte_pipeline_port_in_action_handler f_actionvoid * arg_ahuint32_t burst_size
β¨ Detailed Description β¨
So this struct is literally Parameters for pipeline input port creation π«Ά Like, it's the little bundle of settings you hand over when you're spinning up a pipeline input port, no cap.
FYI it's defined at line 562 of the file rte_pipeline.h β that's the receipt, iykyk π
β¨ Field Documentation β¨
π¦ struct rte_port_in_ops* ops
Input port operations β and these are specific to each table type, so don't go assuming one size fits all, bestie β¨
Defined at line 564 of the file rte_pipeline.h.
π¦ void* arg_create
An opaque parameter that gets passed along to the create operation when it's invoked. Very "hand it off, don't ask questions" energy π
Defined at line 566 of the file rte_pipeline.h.
π¦ rte_pipeline_port_in_action_handler f_action
The callback function that runs the user actions on input packets π₯ Heads up though: it is disabled if set to NULL β so if you leave it null, nothing happens, main character stays home π
Defined at line 570 of the file rte_pipeline.h.
π¦ void* arg_ah
Another opaque parameter, this time passed to the action handler when it gets invoked. It's giving "plus-one to the callback party" π
Defined at line 572 of the file rte_pipeline.h.
π¦ uint32_t burst_size
The recommended burst size for the RX operation β and yes, that's in number of pkts, so count your packets, not your bytes, bestie π¦β¨
Defined at line 575 of the file rte_pipeline.h.
β¨ Author β¨
Generated automatically by Doxygen for DPDK from the source code. So nobody hand-wrote this masterpiece β the robot did it, and honestly? It ate π€π
That's the whole page, bestie β every field, every line number, every "opaque parameter", all accounted for. Slay π«Ά
Sign-off szn: this is from DPDK, Version 26.03.0, and the footer's date slot is blank on this one (the robot left it empty, not me π). See you in the next page π
π¦ 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