rte_dev_iterator(3)

πŸ’– NAME πŸ’–

rte_dev_iterator β€” bestie this is a struct, not a function, and it's literally the little backpack that holds your place while you're walking through devices πŸŽ€


✨ SYNOPSIS ✨

#include <rte_dev.h>

🌸 Data Fields 🌸

  • const char * dev_str
  • const char * bus_str
  • const char * cls_str
  • struct rte_bus * bus
  • struct rte_class * cls
  • struct rte_device * device
  • void * class_device

🫢 Detailed Description 🫢

Okay so picture this: it's an iteration context. That's the whole vibe. It's the thing that carries over the current iteration state, like a lil bookmark so you know where you were when you come back. no cap, that's genuinely all it is πŸ’…

Defined at line 240 of file rte_dev.h. Periodt. πŸ“


πŸ‘‘ Field Documentation πŸ‘‘

const char* dev_str

The device string. That's it bestie, the string that names the device 🌸

Defined at line 241 of file rte_dev.h.

const char* bus_str

The bus-related part of the device string β€” so like, just the bus slice of dev_str 🚌

Defined at line 242 of file rte_dev.h.

const char* cls_str

The class-related part of the device string β€” the class slice this time πŸŽ€

Defined at line 243 of file rte_dev.h.

struct rte_bus* bus

The bus handle, iykyk 🚌✨

Defined at line 244 of file rte_dev.h.

struct rte_class* cls

The class handle πŸ’–

Defined at line 245 of file rte_dev.h.

struct rte_device* device

Your current position β€” where the iterator is standing right now πŸ“

Defined at line 246 of file rte_dev.h.

void* class_device

Additional specialized context. Extra credit vibes, lowkey πŸ¦‹

Defined at line 247 of file rte_dev.h.


🌈 Author 🌈

Generated automatically by Doxygen for DPDK from the source code. Not a human, not a girlboss, just a doc generator doing its thing πŸ€–βœ¨


okay and that's the whole page bestie β€” every single field, every single line number, all of it, nothing skipped 🫢

DPDK Β· Version 25.11.3 Β· rte_dev_iterator(3) β€” mwah, ty for reading, slay πŸ’…πŸŒŸ

πŸ“¦ where this page comes from