rte_bbdev_stats(3)

πŸ“¦ version 26.03, in nixos 26.05, nixpkgs unstable

πŸ’… NAME πŸ’…

rte_bbdev_stats β€” bestie, this is the device statistics struct, straight out of the DPDK Library Functions Manual (section 3, iykyk). It's where all your bbdev counters live. πŸŽ€


✨ SYNOPSIS ✨

#include <rte_bbdev.h>

πŸ¦‹ Data Fields πŸ¦‹

  • uint64_t enqueued_count
  • uint64_t dequeued_count
  • uint64_t enqueue_err_count
  • uint64_t dequeue_err_count
  • uint64_t enqueue_warn_count
  • uint64_t dequeue_warn_count
  • uint64_t enqueue_status_count [RTE_BBDEV_ENQ_STATUS_SIZE_MAX]
  • uint64_t acc_offload_cycles
  • uint16_t enqueue_depth_avail

🌸 Detailed Description 🌸

Device statistics. That's it, that's the whole vibe β€” it's the struct holding all the numbers about what your device has been up to. πŸ’–

Definition at line 268 of file rte_bbdev.h. ✨

πŸ‘‘ Field Documentation πŸ‘‘

πŸ’œ uint64_t enqueued_count

Count of all operations enqueued. The "how much did we shove in there" number. 🫢

Definition at line 269 of file rte_bbdev.h.

πŸ’œ uint64_t dequeued_count

Count of all operations dequeued. The "how much came back out" number. 🫢

Definition at line 270 of file rte_bbdev.h.

πŸ’œ uint64_t enqueue_err_count

Total error count on operations enqueued. Not cute when this one goes up 😭.

Definition at line 272 of file rte_bbdev.h.

πŸ’œ uint64_t dequeue_err_count

Total error count on operations dequeued. Also not cute 😭.

Definition at line 274 of file rte_bbdev.h.

πŸ’œ uint64_t enqueue_warn_count

Total warning count on operations enqueued. Not a full-on error, just a little "hmm, bestie" 🫠.

Definition at line 276 of file rte_bbdev.h.

πŸ’œ uint64_t dequeue_warn_count

Total warning count on operations dequeued. Same energy, other direction.

Definition at line 278 of file rte_bbdev.h.

πŸ’œ uint64_t enqueue_status_count[RTE_BBDEV_ENQ_STATUS_SIZE_MAX]

Total enqueue status count based on rte_bbdev_enqueue_status enum. It's an array, one bucket per status β€” a whole little status-count family. πŸ”₯

Definition at line 280 of file rte_bbdev.h.

πŸ’œ uint64_t acc_offload_cycles

CPU cycles consumed by the (HW/SW) accelerator device to offload the enqueue request to its internal queues. Basically: how much CPU time the offload life cost us. ⭐

  • For a HW device this is the cycles consumed in MMIO write
  • For a SW (vdev) device, this is the processing time of the bbdev operation

Definition at line 287 of file rte_bbdev.h.

πŸ’œ uint16_t enqueue_depth_avail

Available number of enqueue batch on that queue. Your "how much room is left on this queue" check β€” note it's a uint16_t, not a uint64_t like its siblings, she's different like that. πŸ’…

Definition at line 289 of file rte_bbdev.h.


🌈 Author 🌈

Generated automatically by Doxygen for DPDK from the source code. No human wrote this, it literally manifested itself from the source, and honestly? Iconic. ✨


And that's the page, bestie β€” brought to you by DPDK, Version 26.03.0, the rte_bbdev_stats(3) glow-up edition. Go forth and read your counters. πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from