rte_bbdev_stats(3)
π 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_countuint64_t dequeued_countuint64_t enqueue_err_countuint64_t dequeue_err_countuint64_t enqueue_warn_countuint64_t dequeue_warn_countuint64_t enqueue_status_count [RTE_BBDEV_ENQ_STATUS_SIZE_MAX]uint64_t acc_offload_cyclesuint16_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
- nixos 26.05: dpdk 26.03
- nixpkgs unstable: dpdk 26.03
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms