qed_fw_overlay_mem_alloc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– qed_fw_overlay_mem_alloc(9) β€” it's giving "kernel API manual" ✨

okay so bestie, we're in the Kernel API Manual today and the star of the show is qed_fw_overlay_mem_alloc πŸŽ€ β€” she allocates and fills the FW overlay memory. both!! multitasking icon πŸ‘‘


✨ NAME ✨

qed_fw_overlay_mem_alloc β€” Allocates and fills the FW overlay memory. literally that's her whole job and she ate πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

struct phys_mem_desc * qed_fw_overlay_mem_alloc (struct qed_hwfn *p_hwfn
, const u32 *const fw_overlay_in_buf , u32 buf_size_in_bytes );

three args, one pointer out, no cap 🫢


🌸 ARGUMENTS 🌸

  • p_hwfn β€” HW device data. the hardware device info, the main character of the struct world πŸ‘‘
  • fw_overlay_in_buf β€” The input FW overlay buffer. your input buffer, coming in hot πŸ”₯
  • buf_size_in_bytes β€” The size of the input FW overlay buffer in bytes. and listen β€” it must be aligned to dwords ⚠️ like, that's not a suggestion, that's a requirement, fr fr

⭐ RETURN ⭐

A pointer to the allocated overlays memory, or NULL in case of failures 😭 so yeah β€” check your pointer before you use it, bestie, that's self-care πŸ’–


🌈 SEE ALSO 🌈

Kernel file ./drivers/net/ethernet/qlogic/qed/qed_hsi.h

and the whole friend group 🫢:


and that's the whole page, bestie!! 🧚 this one lives down in ./drivers/net/ethernet/qlogic/qed and the lovely people there dated it October 2026 β€” so yeah, future vibes only β­πŸ’œ slay, go align those dwords πŸ’…

πŸ“¦ where this page comes from