qed_ll2_set...of_tx_packet(9)
π qed_ll2_set_fragment_of_tx_packet π
okay so this is a page from the Kernel API Manual (yes, the actual kernel man pages, we're in the big leagues now bestie) and it's all about qed_ll2_set_fragment_of_tx_packet π¦
β¨ NAME β¨
qed_ll2_set_fragment_of_tx_packet β it's the girl that provides fragments to fill Tx BD of the BDs that were requested by qed_ll2_prepare_tx_packet π
like, you know how qed_ll2_prepare_tx_packet puts in the request for BDs? this is the follow-up queen that actually hands over the fragments to fill them. iconic teamwork fr fr π
πΈ SYNOPSIS πΈ
int qed_ll2_set_fragment_of_tx_packet (void *cxt , u8 connection_handle
, dma_addr_t addr , u16 nbytes );
that's the whole vibe check right there β
π«Ά ARGUMENTS π«Ά
cxtβ Pointer to the hw-function [opaque to some]. π so it's a hardware function pointer situation, and some of us (me, you, everyone) just aren't meant to see inside it. it's giving mystery. it's giving "don't worry about it."connection_handleβ the LL2 connection's handle, and you get it fromqed_ll2_require_connection. that's the whole source of truth for this one, no cap πaddrβ Address. π that's it. that's the description. address.nbytesβ Number of bytes. πΈ short and sweet and to the point, love that for it.
π₯ RETURN π₯
0on success β¨- failure otherwise π
that's the whole deal. 0 means we slayed, anything else means we did not slay.
lowkey a real one for keeping the return values this simple. main character energy π
π SEE ALSO π
okay the reading list, let's go:
- Kernel file
./drivers/net/ethernet/qlogic/qed/qed_ll2.hπ (the source of truth, go look at it, iykyk) qed_ll2_acquire_connection(9)qed_ll2_establish_connection(9)qed_ll2_post_rx_buffer(9)qed_ll2_prepare_tx_packet(9)β this one's the sibling, the one that asked for the BDs in the first placeqed_ll2_release_connection(9)qed_ll2_terminate_connection(9)qed_ll2_get_stats(9)qed_ll2_alloc(9)qed_ll2_setup(9)qed_ll2_free(9)
basically the entire qed_ll2 friend group π
they all show up together, as they should.
mwah π that's a wrap bestie β this page lives in ./drivers/net/ethernet/qlogic/qed, it's dated October 2026, and it's filed under the Kernel API Manual. go forth and fragment responsibly π§ββοΈπ
π¦ 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