rte_mbuf_sched(3)

🌸 rte_mbuf_sched(3) 🌸

okay bestie, pull up a chair, we're doing a DPDK struct today and it's genuinely a cute one. this is rte_mbuf_sched, a manpage out of the Library Functions Manual (section 3, for the record), and it's literally just a lil bundle of fields that lets a packet mbuf know where it belongs in the hierarchy. no cap. πŸ’–


✨ NAME ✨

rte_mbuf_sched β€” the hierarchical scheduler info, vibe-checked and ready ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <rte_mbuf_core.h>

πŸ’… Data Fields πŸ’…

  • uint32_t queue_id
  • uint8_t traffic_class
  • uint8_t color
  • uint16_t reserved

πŸ‘‘ Detailed Description πŸ‘‘

<span style="color:hotpink">Hierarchical scheduler</span> 🫢

that's it, that's the whole description. it lives at Definition at line 417 of file rte_mbuf_core.h. iconic placement tbh. πŸ’…


πŸŽ€ Field Documentation πŸŽ€

⭐ uint32_t queue_id

the Queue ID. that's the whole story, bestie, it's just the queue id. 🫢

Definition at line 418 of file rte_mbuf_core.h.

🌈 uint8_t traffic_class

the Traffic class ID. and here's the tea: Traffic class 0 is the highest priority traffic class. so if you're out here picking a class, class 0 is the main character. πŸ‘‘

Definition at line 419 of file rte_mbuf_core.h.

🧚 uint8_t color

the Color. yes, literally color, and before you ask β€” it's tied to enum rte_color, so go look at that if you want the full palette. 🎨

See also

  • enum rte_color

Definition at line 423 of file rte_mbuf_core.h.

πŸ“ uint16_t reserved

Reserved. hands off, that one's not for you, it's saved for later. πŸ™ˆ

Definition at line 425 of file rte_mbuf_core.h.


πŸ’œ Author πŸ’œ

Generated automatically by Doxygen for DPDK from the source code. so like, nobody hand-wrote this, it spawned itself, slay. πŸ€–βœ¨


fr fr though β€” nothing here is dangerous, it's just fields. but do respect that reserved one. it said what it said. πŸ’€

okay that's the whole page, mwah πŸ’‹ this was DPDK Version 25.11.3, rte_mbuf_sched(3), and it came straight off the Doxygen assembly line. go forth and schedule hierarchically, bestie. πŸ¦‹πŸ’–πŸŽ€

πŸ“¦ where this page comes from