rte_gpu_info(3)
π NAME π
rte_gpu_info β okay bestie, this is the struct that holds all the deets about your GPU device, like a little info card for your graphics card π
β¨ SYNOPSIS β¨
#include <rte_gpudev.h>
πΈ Data Fields
const char * nameuint64_t contextint16_t dev_idint16_t parentuint32_t processor_countsize_t total_memorysize_t page_sizeint16_t numa_node
π¦ Detailed Description π¦
It stores device info, periodt. That's literally the whole job π
Fun fact for the group chat: the definition lives at line 49 of file rte_gpudev.h, iykyk π
π Field Documentation π
π const char* name
The unique identifier name, like the device's little government name β¨
Definition at line 51 of file rte_gpudev.h.
π uint64_t context
An opaque handler of the device context β opaque meaning don't peek inside, just hold it π«Ά
Definition at line 53 of file rte_gpudev.h.
π int16_t dev_id
The Device ID. That's it, that's the field π
Definition at line 55 of file rte_gpudev.h.
π int16_t parent
The ID of the parent device, and it's RTE_GPU_ID_NONE if there's no parent β no mom, no problem π
Definition at line 57 of file rte_gpudev.h.
π uint32_t processor_count
Total processors available on the device, like headcount for the device's whole crew π₯
Definition at line 59 of file rte_gpudev.h.
π size_t total_memory
Total memory available on the device β the whole bag, not just what's in your wallet π°
Definition at line 61 of file rte_gpudev.h.
π size_t page_size
The GPU memory page size, no cap π
Definition at line 63 of file rte_gpudev.h.
π int16_t numa_node
The local NUMA memory ID, and it's -1 if unknown β not me guessing my own NUMA node π
Definition at line 65 of file rte_gpudev.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code β so like, the doc fairy godmother did it, not me π§
That's the whole page bestie, every field accounted for, nothing skipped, we ate and left no crumbs π
Sign-off szn: this lil masterpiece is from DPDK, Version 26.03.0, and the manual page is dated rte_gpu_info(3) β see you in the next one, mwah ππ
π¦ 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