rte_vdpa_stat(3)

πŸ’– NAME πŸ’–

rte_vdpa_stat β€” bestie, this is a 3 manual page, and it's all about one lil' struct that holds a single vDPA device statistic. Yes queen, one number. We stan a focused icon. πŸ‘‘


✨ SYNOPSIS ✨

okay so first things first, you gotta pull in the header or nothing works, fr:

#include <rte_vdpa.h>

🌈 Data Fields 🌈

here's the whole squad, just two members, lowkey perfect:

  • uint64_t id
  • uint64_t value

🌸 Detailed Description 🌸

so listen. this is a vDPA device statistic structure β€” a cute lil' container for one stat from your HW vDPA device. that's the whole job. she's employed, she's thriving. πŸ’…

this struct is what rte_vdpa_stats_get() uses to hand you statistics from the HW vDPA device. so like, it's not doing the work itself, it's the messenger. iconic behaviour.

what it actually does: it maps a name id β€” which is an index into the array that rte_vdpa_get_stats_names gives back to you β€” over to a statistic value. so id goes in one pocket, value comes out the other. that's the vibe. πŸ¦‹

for real though, this struct is defined at line 34 of the file rte_vdpa.h. noted, bookmarked, screenshotted. πŸ“Œ

πŸ¦‹ Field Documentation πŸ¦‹

πŸ“ uint64_t id πŸ“

this is the index in the stats name array. like, which stat are we talking about? she's the pointer to the label, the nametag at the party. πŸŽ€

defined at line 35 of the file rte_vdpa.h.

πŸ“ uint64_t value πŸ“

and this one? this is the statistic counter value itself. the actual number. the receipts. the moment. πŸ’–

defined at line 36 of the file rte_vdpa.h.


πŸ‘‘ Author πŸ‘‘

generated automatically by Doxygen for DPDK from the source code. so technically no human wrote this, which honestly? slay, the robot ate. πŸ€–βœ¨


and that's the whole page bestie, we're done here 🫢 this was DPDK, Version 25.11.3, and yeah it's a rte_vdpa_stat(3) situation β€” go forth and read your stats, no cap. πŸ’œ

πŸ“¦ where this page comes from