ACTION_DATA_SIZE(3)

πŸ“¦ version 26.03, in nixos 26.05, nixpkgs unstable

πŸ’… 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