qed_add_tlv(9)
β¨ qed_add_tlv(9) β¨
okay so bestie, welcome to the Kernel API Manual π β this one's qed_add_tlv, and it's literally the "put the thing on the buffer" girlie. Let's get into it π
πΈ NAME πΈ
qed_add_tlv β place a given tlv on the tlv buffer at next offset
that's it, that's the whole vibe. she places tlvs. iconic behavior. π
π¦ SYNOPSIS π¦
void * qed_add_tlv (struct qed_hwfn *p_hwfn , u8 **offset , u16 type ,
u16 length );
no cap, she returns a void * and takes four args β we love a straightforward queen π
β ARGUMENTS β
p_hwfnβ HW device data. the hardware's whole little data situation π«Άoffsetβ offset. yes bestie, it's the offset β that's the whole job πtypeβ Type. the type!! of the tlv!! π§lengthβ Length. how long it is, obviously π
fr fr, the original is that chill about describing these. we're keeping it exactly as-is, no invented lore π
π₯ RETURN π₯
pointer to the newly placed tlv
she gives you back a pointer to the tlv she just placed β like handing you the receipt for the thing you just bought π
π SEE ALSO π
Kernel file ./drivers/net/ethernet/qlogic/qed/qed_sriov.h
and the whole friend group π:
qed_iov_is_valid_vfid(9)qed_iov_get_next_active_vf(9)qed_iov_hw_info(9)qed_dp_tlv_list(9)qed_sriov_vfpf_malicious(9)qed_sriov_eqe_event(9)qed_iov_alloc(9)qed_iov_setup(9)qed_iov_free(9)qed_iov_free_hw_info(9)qed_iov_mark_vf_flr(9)qed_iov_search_list_tlvs(9)
twelve functions. twelve. that's a whole group chat and she's in it πβ¨
and that's the page, bestie!! π run it, love it, place those tlvs π
sign-off szn π«Ά : this little masterpiece lives at ./drivers/net/ethernet/qlogic/qed, dated October 2026, and goes by qed_add_tlv(9). slay π
β¨
π¦ 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