qed_dbg_read_attn(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… qed_dbg_read_attn β€” from the Kernel API Manual, bestie

okay so picture this: you're deep in the kernel, you open up the Kernel API Manual, and this little icon is sitting there like πŸ‘‘

✨ NAME ✨

qed_dbg_read_attn β€” literally reads the attention registers of whatever block and type you point at, then writes the results straight into the buffer you handed it. that's the whole vibe. πŸŽ€


🌸 SYNOPSIS 🌸

enum dbg_status qed_dbg_read_attn (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt , enum block_id block , enum dbg_attn_type attn_type , bool clear_status , struct dbg_attn_block_result *results );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • p_hwfn β€” the HW device data. the main character struct fr fr 🫢
  • p_ptt β€” the Ptt window that gets used for writing the registers. yes bestie, that's its whole job πŸ’…
  • block β€” Block ID. which block we're looking at, iykyk.
  • attn_type β€” Attention type. the flavor of attention, lowkey.
  • clear_status β€” tells it whether the attention status should be cleared or not. like, do we wipe the board or leave it 🧹
  • results β€” (OUT) pointer to write the read results into. this one's the output girlie, she gets filled in 🌈

πŸ’– RETURN πŸ’–

Returns an error if one of these holds:

  • The version wasn't set

Otherwise, it returns ok. slay ✨


πŸ‘‘ SEE ALSO πŸ‘‘

kernel file ./drivers/net/ethernet/qlogic/qed/qed_dbg_hsi.h (go look, bestie, it's right there)

and the whole friend group, no cap:


🫢 and that's the page!! this lil legend lives in ./drivers/net/ethernet/qlogic/qed, dated October 2026, and it goes by qed_dbg_read_attn(9). mwah, go read your attention registers responsibly πŸ’œ
πŸ“¦ where this page comes from