rte_graph_...c_register(3)
ok so you found yourself on the rte_graph_...c_register(3) page in the Library Functions Manual β that's the DPDK docs, bestie, and this one is a struct, not a function (the name is lying to you a little, no cap). buckle up, it's giving "everything you need to know about the feature arc registration struct" π
β¨ NAME β¨
rte_graph_feature_arc_register β literally the struct you fill out to register a feature arc. that's it, that's the whole vibe π
πΈ SYNOPSIS πΈ
#include <rte_graph_feature_arc.h>
π«Ά Data Fields π«Ά
here's the full cast of characters, in order, no skips:
const char * arc_nameuint16_t max_featuresuint16_t max_indexesstruct rte_node_register * start_noderte_node_process_t start_node_feature_process_fnstruct rte_graph_feature_register * end_feature
π Detailed Description π
Feature arc registration structure. yes, you're literally registering a whole feature arc with this thing, main character energy fr fr π¦
Definition at line 307 of file rte_graph_feature_arc.h.
π¦ Field Documentation π¦
β const char* arc_name
Name of the feature arc β¨ (yes, the name of the arc, not of the struct, don't get it twisted)
Definition at line 311 of file rte_graph_feature_arc.h.
π₯ uint16_t max_features
Maximum number of features supported in this feature arc.
okay here's the slay part: this field can be skipped for feature arc registration via RTE_GRAPH_FEATURE_ARC_REGISTER() π the API is internally doing the math for you β it sets this field by calculating the number of RTE_GRAPH_FEATURE_REGISTER() for every arc registration via RTE_GRAPH_FEATURE_ARC_REGISTER().
so likeβ¦ you can fill it in, but the API's got you, iykyk π«Ά
Definition at line 323 of file rte_graph_feature_arc.h.
π uint16_t max_indexes
Maximum number of indexes supported in this feature arc. π heads up: memory is allocated based on this field, so this one is not the one to leave blank, bestie, it's literally the budget π
Definition at line 329 of file rte_graph_feature_arc.h.
π struct rte_node_register* start_node
Start node of this arc. the first one, the opener, the entry point π
Definition at line 332 of file rte_graph_feature_arc.h.
π§ rte_node_process_t start_node_feature_process_fn
Feature arc specific process() function for Start node. and check this: if the application calls rte_graph_feature_arc_init(), then start_node->process() is replaced by this function π₯ so the start node's process gets swapped, iconic behaviour honestly
Definition at line 339 of file rte_graph_feature_arc.h.
π struct rte_graph_feature_register* end_feature
End feature node registration. the closer, the finale, the last one out πΈ
Definition at line 342 of file rte_graph_feature_arc.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code. not a human, a little robot did this, and honestly? it ate π€β¨
okay that's the whole page bestie, you're officially an expert on the feature arc registration struct π«Άπ
π DPDK Β· Version 26.03.0 Β· that's the source and version, mwah, bye! π
π¦ 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