rte_gpu_info(3)

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

πŸ’– 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 * name
  • uint64_t context
  • int16_t dev_id
  • int16_t parent
  • uint32_t processor_count
  • size_t total_memory
  • size_t page_size
  • int16_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