STRUCT HL_INFO_PCI_COUNTERS(9)
πΈ struct hl_info_pci_counters(9) β Kernel API Manual πΈ
okay so bestie, this is a page from the Kernel API Manual, and it's literally just a cute little struct for keeping track of PCI counters. nothing scary, i promise π
β¨ NAME β¨
struct hl_info_pci_counters β pci counters π
π SYNOPSIS π
here's the whole vibe, copied exactly so you can't mess it up:
struct hl_info_pci_counters {
__u64 rx_throughput;
__u64 tx_throughput;
__u64 replay_cnt;
};
like, that's it. three __u64s and a dream π¦
π Members π
rx_throughput
PCI rx throughput, measured in KBps. that's the receiving side, she's taking it all in π
tx_throughput
PCI tx throughput, also in KBps. this one's the sending girlie, giving main character energy outward π
replay_cnt
the PCI replay counter, periodt. it counts replays. no cap π₯
π«Ά SEE ALSO π«Ά
so there's a kernel file involved β ./include/uapi/drm/habanalabs_accel.h β and it's an enum. she's the source of truth, iykyk.
and here's the whole friend group, all the siblings in (9):
hl_goya_dma_direction(9)enum hl_device_status(9)struct hl_info_hw_ip_info(9)struct hl_info_clk_throttle(9)struct hl_info_energy(9)struct hl_open_stats_info(9)struct hl_power_info(9)struct hl_info_sync_manager(9)struct hl_info_cs_counters(9)struct hl_info_last_err_open_dev_time(9)struct hl_info_cs_timeout_event(9)struct hl_info_razwi_event(9)struct hl_info_undefined_opcode_event(9)struct hl_info_hw_err_event(9)struct hl_info_fw_err_event(9)struct hl_info_engine_err_event(9)struct hl_info_dev_memalloc_page_sizes(9)struct hl_page_fault_info(9)struct hl_user_mapping(9)struct hl_info_args(9)
ngl bestie, go read the header file before you go poking at these fields β it's giving "trust the source" π
πΈ okay that's the whole page, mwah π β sourced from ./include/uapi/drm, dated October 2026, and yes the title at the bottom is still struct hl_info_pci_counters(9) because we stan a consistent footer. slay π
β¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms