STRUCT ADF_GEN4_TL_LAYOUT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct adf_gen4_tl_layout(9) β€” Kernel API Manual, but make it cute

okay so bestie, welcome to the struct adf_gen4_tl_layout(9) page ✨ this is the kernel API manual and honestly? it's giving "the whole telemetry buffet, one struct" πŸ‘‘

🌸 NAME 🌸

struct adf_gen4_tl_layout β€” no cap, this structure represents the entire telemetry counters data: the Device plus 4 Ring Pairs, exactly as they're being populated periodically by the device 🫢

Like, it's not some of the data. It's all of it. The device keeps topping it off on a schedule, and this struct is the whole snack table πŸ“


πŸŽ€ SYNOPSIS πŸŽ€

struct adf_gen4_tl_layout {
    struct adf_gen4_tl_device_data_regs tl_device_data_regs;
    struct adf_gen4_tl_ring_pair_data_regs
tl_ring_pairs_data_regs[ADF_GEN4_TL_MAX_RP_NUM];
    __u32 reg_tl_msg_cnt;
    __u32 reserved;
 };

look at her. iconic. four fields, zero notes πŸ’… (the line wrap in the middle is on purpose, that's just how she's laid out in the original, don't come for her)


πŸ¦‹ Members πŸ¦‹

  • tl_device_data_regs β€” the structure of device telemetry registers πŸ–₯️ like, the device's own personal stats corner
  • tl_ring_pairs_data_regs β€” an array of ring pairs telemetry registers πŸ” yes bestie, an array β€” max size be ADF_GEN4_TL_MAX_RP_NUM, that's the ceiling, respect it
  • reg_tl_msg_cnt β€” telemetry messages counter πŸ”’ it counts the telemetry messages, she's literally doing her job
  • reserved β€” reserved πŸ™ˆ that's it, that's the whole description, she's reserved, mind your business

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/crypto/intel/qat/qat_common/adf_gen4_tl.h
  • struct adf_gen4_tl_slice_data_regs(9)
  • struct adf_gen4_tl_device_data_regs(9)
  • struct adf_gen4_tl_ring_pair_data_regs(9)

iykyk β€” the whole friend group is linked, go say hi to the slice, the device, and the ring pair siblings πŸ§šπŸ’œ


lowkey a lil reminder: ADF_GEN4_TL_MAX_RP_NUM is the max ring pair number and that's the array bound, so don't go past it, we don't do out-of-bounds behavior in this house πŸ’€

and that's the page!! πŸŽ€ source: ./drivers/crypto/intel/qat/qat..., dated October 2026, and yeah the footer says struct adf_gen4_tl_layout(9) again because she loves a callback πŸ‘‘ mwah, go read the header file, ily, bye ✨

πŸ“¦ where this page comes from