STRUCT HL_INFO_PCI_COUNTERS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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