rte_eth_xstat(3)

✨ rte_eth_xstat ✨

okay bestie, welcome to the rte_eth_xstat page, which lives in section 3 of the manual πŸ’– it's a lil struct and honestly it's giving "small but mighty" energy πŸ‘‘


🌸 SYNOPSIS 🌸

#include <rte_ethdev.h>

πŸŽ€ Data Fields

  • uint64_t id
  • uint64_t value

πŸ¦‹ Detailed Description πŸ¦‹

It's the Ethernet device extended statistic structure, bestie ✨ literally just a lil glow-up container for the stats that the generic rte_eth_stats struct was NOT gonna give you πŸ™ˆ

The way that rte_eth_xstats_get() uses this: it maps a name ID over to an actual statistic value πŸ’… and that name ID is an index into the array that rte_eth_xstats_get_names() hands back. so like, names on one side, numbers on the other, and this struct is the bridge 🫢 iconic behavior fr fr

Definition at line 1976 of file rte_ethdev.h.

πŸ’œ Field Documentation πŸ’œ

⭐ uint64_t id

The index in xstats name array. πŸ‘‘ that's it, that's the field, she's the pointer-to-the-name, the vibe check on which stat we're talking about.

Definition at line 1977 of file rte_ethdev.h.

πŸ“ uint64_t value

The statistic counter value. 🌈 the actual number, the receipts, the main character of the pair πŸ’€

Definition at line 1978 of file rte_ethdev.h.

🌟 Author 🌟

Generated automatically by Doxygen for DPDK from the source code. not me getting written by a doc generator 😭 slay tho


and that's the whole page, bestie!! πŸ’– this cutie came to you courtesy of DPDK, Version 25.11.3 πŸŽ€ go get those extended stats, you absolute legend βœ¨πŸ¦‹πŸ’…

πŸ“¦ where this page comes from