rte_node_mbuf_dynfield(3)

πŸ“¦
version 25.11.3 Β· 4 versions
, in ubuntu resolute, ubuntu stonking

🌸 NAME 🌸

rte_node_mbuf_dynfield β€” bestie, this is one of those rte_node-specific mbuf dynamic field structs (rte_node_mbuf_dynfield_t) and it's lowkey carrying the whole graph walk on its back πŸ’…

(Also hi, this is a page from the Library Functions Manual, section 3, iykyk.)


✨ SYNOPSIS ✨

#include <rte_node_mbuf_dynfield.h>

πŸŽ€ Data Fields

  • rte_node_mbuf_overload_fields_t overloadable_data β€” the overloadable mbuf fields that can shift around during the graph walk. The fields that can change. It's giving main character energy, honestly.

πŸ’– Detailed Description πŸ’–

okay so. This is the rte_node specific mbuf dynamic field structure, aka [rte_node_mbuf_dynfield_t]. No cap, that's its whole identity.

It's holding two types of fields, and the way they're so different is a whole vibe:

  1. Persistent fields β€” these are the fields that get preserved across nodes during the graph walk. They just stay, iconic behavior, no drama.
    • Eg: rx/tx interface etc ✨
  2. Overloadable fields β€” these are the ones that can be repurposed by two adjacent nodes. Sharing is caring, bestie.
Located at line 71 of file rte_node_mbuf_dynfield.h, if you need to go look at it with your own two eyes πŸ‘€

πŸ¦‹ Field Documentation πŸ¦‹

rte_node_mbuf_overload_fields_t overloadable_data

Overloadable mbuf fields across graph walk. Literally the fields which can change β€” that's the whole point of them.

Two adjacent nodes (a producer and a consumer) can use this memory region to share per-mbuf specific information. So cute, so collaborative 🫢 But here's the plot twist: once the mbuf leaves a consumer node, this region can be repurposed by another sets of [producer, consumer] node. Reused, recycled, reinvented. Periodt.

On the fast path, this region can be accessed by rte_node_mbuf_overload_fields_get(). That's your way in. That's the door πŸ”‘

Nestled at line 92 of file rte_node_mbuf_dynfield.h πŸ’œ

πŸŽ€ Author πŸŽ€

Generated automatically by Doxygen for DPDK from the source code. Not me writing poetry by hand, bestie β€” the robot did it πŸ€–πŸ’…


kay so real talk, this page was served to you fresh out of DPDK Version 25.11.3, and that footer energy is all yours to keep 🩷✨

πŸ“¦ where this page comes from