RTE_PIPELINE_TABLE_PARAMS(3)
π rte_pipeline_table_params
okay bestie, welcome to the rte_pipeline_table_params glow-up page π this is the handbook for a struct from the Library Functions Manual (DPDK's very own library functions manual, the Library Functions Manual) β and yes she's giving "I set up your pipeline tables for you" main character energy π
β¨ SYNOPSIS β¨
#include <rte_pipeline.h>
π Data Fields
struct rte_table_ops * opsvoid * arg_createrte_pipeline_table_action_handler_hit f_action_hitrte_pipeline_table_action_handler_miss f_action_missvoid * arg_ahuint32_t action_data_size
πΈ DETAILED DESCRIPTION πΈ
So like, these are the parameters for pipeline table creation, fr fr π«Ά
But hear me out on the tea: the action handlers have to be either both enabled or both disabled. You can disable them by setting them to NULL. No halfsies, no "one of them is NULL and the other isn't" β that's not the vibe π
Also iconic: this whole thing lives at Definition at line 301 of file rte_pipeline.h β
π¦ FIELD DOCUMENTATION π¦
β struct rte_table_ops* ops
Table operations (specific to each table type) β yep, every table type gets to have its own lil ops set, it's very personal to her π
Definition at line 303 of file rte_pipeline.h.
π void* arg_create
Opaque param to be passed to the table create operation when invoked β like a cute mysterious lil package you hand over at create time π
Definition at line 306 of file rte_pipeline.h.
π₯ rte_pipeline_table_action_handler_hit f_action_hit
Callback function to execute the user actions on input packets in case of lookup hit. We love a success story β¨
Definition at line 309 of file rte_pipeline.h.
π rte_pipeline_table_action_handler_miss f_action_miss
Callback function to execute the user actions on input packets in case of lookup miss. Not the miss era we wanted but she's here π
Definition at line 312 of file rte_pipeline.h.
π§ void* arg_ah
Opaque parameter to be passed to lookup hit and/or lookup miss action handlers when invoked β one lil mystery arg to serve both, lowkey efficient π
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. Yeah, per entry. Reserve 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, not a human β a doc generator ate and it ate well π
k that's the whole page, no notes π«Ά this was DPDK, Version 25.11.3, and the header's lil nickname is rte_pipeli...able_params(3) (she's truncated for the flex, iykyk). bye babes, go build them tables π
β¨π
π¦ 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