qed_dbg_igu_...ump_buf_size(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… qed_dbg_igu_fifo_get_dump_buf_size β€” the kernel API manual, bestie edition πŸŽ€

okay so picture this: you're deep in the qed driver (section 9 of the kernel manuals, iykyk) and you need to know exactly how much buffer the IGU fifo results are gonna need. That's literally this function. It's giving "measure twice, cut once" energy and honestly? Obsessed. πŸ¦‹


✨ NAME ✨

qed_dbg_igu_fifo_get_dump_buf_size β€” returns the required buffer size for the IGU fifo results, no cap πŸ’–


🌸 SYNOPSIS 🌸

enum dbg_status qed_dbg_igu_fifo_get_dump_buf_size (struct qed_hwfn
*p_hwfn , struct qed_ptt *p_ptt , u32 *buf_size );

bestie look at that signature. enum dbg_status coming back at you, three args going in. She's iconic, she's simple, she does one thing. periodt. πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • p_hwfn β€” the HW device data. like, the whole hardware situation. main character struct fr fr.
  • p_ptt β€” the Ptt window used for writing the registers. that's the little doorway you write registers through πŸšͺ✨
  • buf_size β€” (OUT) the required buffer size (in dwords) for the IGU fifo data. note the dwords!! not bytes!! don't come for me, that's what it says πŸ’€

πŸ’œ RETURN πŸ’œ

Returns an error if one of the following holds:

  • The version wasn't set. Otherwise, returns ok.

that's it. that's the whole vibe check. set your version or she's gonna be salty about it πŸ™ˆ


🫢 SEE ALSO 🫢

Kernel file ./drivers/net/ethernet/qlogic/qed/qed_dbg_hsi.h πŸ’«

and then the whole friend group, because none of these functions are doing it alone:

like, the whole roster. go read them, they're all slaying in their own lanes 🌈


and that's the page!! mwah πŸ’‹ this one lives in ./drivers/net/ethernet/qlogic/qed and it's dated October 2026, so she's both a certified classic and from the future. time travel icon behavior honestly β­πŸ‘‘ bye bestie, go size some buffers πŸ’–

πŸ“¦ where this page comes from