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 * 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

🌸 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