rte_feature_arc_main(3)

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

πŸ’… rte_feature_arc_main β€” the main character of feature arcs

okay bestie, so this is rte_feature_arc_main(3) β€” a struct page from the Library Functions Manual, and no cap it's the glow-up your graph code has been waiting for ✨


🌸 NAME 🌸

rte_feature_arc_main β€” literally the feature arc main object, the queen bee holding all your arcs together πŸ‘‘


πŸŽ€ SYNOPSIS πŸŽ€

#include <rte_graph_feature_arc_worker.h>

✨ Data Fields ✨

  • uint32_t num_feature_arcs
  • uint32_t max_feature_arcs
  • int arc_mbuf_dyn_offset
  • uintptr_t feature_arcs[]

πŸ¦‹ Detailed Description πŸ¦‹

So this is the Feature arc main object β€” and honestly it's giving storage-unit-for-everything 🫢

It holds all feature arcs created by application, periodt. That's the whole vibe.

πŸ“Œ Definition at line 213 of file rte_graph_feature_arc_worker.h.

πŸ’– Field Documentation πŸ’–

🌈 uint32_t num_feature_arcs

This one's the headcount bestie β€” it's the number of feature arcs created by application. The way it just keeps track for you 😭

πŸ“Œ Definition at line 215 of file rte_graph_feature_arc_worker.h.

⭐ uint32_t max_feature_arcs

The ceiling, the limit, the "know your bounds" field β€” max features arcs allowed. (yes, the original says "features arcs", we're keeping it exactly, iykyk πŸ’…)

πŸ“Œ Definition at line 218 of file rte_graph_feature_arc_worker.h.

πŸ“ int arc_mbuf_dyn_offset

arc_mbuf_dyn_offset β€” say it with me β€” is for saving feature arc specific mbuf dynfield offset. Iconic little bookkeeping gremlin.

If you want the full tea, go check out rte_graph_feature_arc_mbuf_dynfields_get() for more details πŸ‘€

πŸ“Œ Definition at line 225 of file rte_graph_feature_arc_worker.h.

🧚 uintptr_t feature_arcs[]

A pointer to all feature arcs β€” the whole friend group in one array 🌸

πŸ“Œ Definition at line 228 of file rte_graph_feature_arc_worker.h.

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for DPDK from the source code. Not a human wrote this, a robot did, and it ate πŸ”₯


πŸ’œ okay that's the whole thing! Shoutout to DPDK, Version 26.03.0, for hosting this little page β€” generated by Doxygen, mwah, no notes. Byeeee 🫢✨
πŸ“¦ where this page comes from