ACTION_DATA_SIZE(3)
π NAME π
rte_pipeline_table_params β okay so this is the struct that holds all the params for creating a pipeline table, bestie. Literally the whole vibe of table creation in one little C struct, from the DPDK Library Functions Manual, fr fr.
β¨ SYNOPSIS β¨
#include <rte_pipeline.h>
Data Fields β here's the whole squad, no gatekeeping:
struct rte_table_ops * ops
void * arg_create
rte_pipeline_table_action_handler_hit f_action_hit
rte_pipeline_table_action_handler_miss f_action_miss
void * arg_ah
uint32_t action_data_size
π DESCRIPTION π
Parameters for pipeline table creation, periodt. And here's the one rule you cannot fumble, bestie: the action handlers have to be either both enabled or both disabled β you can disable them by setting them to NULL. Not one on and one off, that's not the vibe, okay? Both or neither. π
Definition at line 301 of file rte_pipeline.h.
π¦ FIELD DOCUMENTATION π¦
πΈ struct rte_table_ops* ops
Table operations β and each table type has its own, so this is specific to whichever one you're rocking. iykyk. π«Ά
Definition at line 303 of file rte_pipeline.h.
π void* arg_create
An opaque param that gets passed to the table create operation when it's invoked. Opaque means we don't peek inside, we just hand it over, okay? π
Definition at line 306 of file rte_pipeline.h.
β rte_pipeline_table_action_handler_hit f_action_hit
Callback function that executes the user actions on input packets in case of a lookup hit. So when the lookup hits, this little icon goes off. π₯
Definition at line 309 of file rte_pipeline.h.
π rte_pipeline_table_action_handler_miss f_action_miss
Callback function that executes the user actions on input packets in case of a lookup miss. The miss girl of the pair, and no we're not playing favorites. π
Definition at line 312 of file rte_pipeline.h.
π void* arg_ah
Opaque parameter passed to the lookup hit and/or lookup miss action handlers when they get invoked. So it feeds whichever of the two callbacks actually runs β again, opaque, no peeking. β¨
Definition at line 316 of file rte_pipeline.h.
π uint32_t action_data_size
Memory size to be reserved per table entry for storing the user actions and their meta-data. Per. Table. Entry. Reserve your space accordingly, bestie. π
Definition at line 319 of file rte_pipeline.h.
π§ AUTHOR π§
Generated automatically by Doxygen for DPDK from the source code β not me, not you, the robot did it. π
muah π that's the whole page! This iconic little number is from DPDK, Version 26.03.0, and it slays in rte_pipeli...able_params(3) form. Go forth and create your tables, bestie β no cap. π
π¦ 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