qed_memcpy_to(9)
π qed_memcpy_to(9) β a Kernel API Manual moment π
okay bestie, welcome to the qed_memcpy_to(9) page, like the actual kernel API manual energy, and honestly? it's a short one but she serves. this is the "copy stuff INTO the BAR" girlie, and yes she has a p_ptt and yes we're gonna talk about it π
β¨ NAME β¨
qed_memcpy_to β copy n bytes to BAR using the given ptt π«Ά
like, that's the whole assignment. copy. bytes. to the BAR. with a ptt. iconic.
πΈ SYNOPSIS πΈ
void qed_memcpy_to (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt ,
u32 hw_addr , void *src , size_t n );
she's void, she takes five things, no cap π€·ββοΈβ¨
π¦ ARGUMENTS π¦
look, the original docs are mad terse here, and I'm not about to invent lore, so here's exactly what you get:
p_hwfnβ HW device data. π» (the hardware device's whole situation, basically her main character data)p_pttβ P_ptt. π (yes. that's the description. we love a minimal queen)hw_addrβ HW address. π (the address, on the hardware)srcβ Source. π€ (where the bytes are coming from)nβ N. π’ (the count. the number. then.)
ngl the upstream descriptions are giving "wrote this at 3am before the merge window closed" π but we're respecting the source material fr fr β no extra guesses added, bestie's honour π
π RETURN π
Void. π³οΈ
that's it. nothing comes back. she does the thing and dips, zero notes, no return value, main character exit π
π₯ SEE ALSO π₯
Kernel file ./drivers/net/ethernet/qlogic/qed/qed_hw.h and her whole friend group:
qed_gtt_init(9)qed_ptt_pool_alloc(9)qed_ptt_pool_free(9)qed_ptt_get_hw_addr(9)qed_ptt_get_bar_addr(9)qed_ptt_set_win(9)qed_get_reserved_ptt(9)qed_wr(9)qed_rd(9)qed_memcpy_from(9)qed_fid_pretend(9)qed_port_pretend(9)qed_port_unpretend(9)qed_port_fid_pretend(9)qed_vfid_to_concrete(9)qed_dmae_idx_to_go_cmd(9)qed_dmae_info_alloc(9)qed_dmae_info_free(9)qed_hw_err_notify(9)
it's a whole squad, go read them too π§ββοΈβ¨
and that's the page!! shipped from ./drivers/net/ethernet/qlogic/qed, dated October 2026, filed under qed_memcpy_to(9) β mwah, go copy some bytes to a BAR responsibly, ily, bye πππ¦
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms