qed_ll2_prepare_tx_packet(9)
π qed_ll2_prepare_tx_packet β from the Kernel API Manual, section 9 (yes, the manual manual, bestie)
okay so picture this: you're deep in the qlogic qed driver, and you need the firmware to know about a Tx packet. That's the whole vibe of this function β it's the request-for-start-Tx-BD moment where you prep a Tx packet submission to FW. Like sending a "heyyy I'm about to send something π" text before the actual text. Iconic.
β¨ NAME β¨
qed_ll2_prepare_tx_packet β Request for start Tx BD to prepare Tx packet submission to FW.
(translation: it preps your Tx packet so it can be submitted to the firmware. the BD is the buffer descriptor, and it needs a little heads-up first. no cap.)
πΈ SYNOPSIS πΈ
int qed_ll2_prepare_tx_packet (void *cxt , u8 connection_handle , struct
qed_ll2_tx_pkt_info *pkt , bool notify_fw );
four arguments, one int return, zero drama (unless something fails, then it's all drama π).
π ARGUMENTS π
cxtβ Pointer to the hw-function [opaque to some]. (it's giving "don't worry about what's inside, just pass it along" energy)connection_handleβ Connection handle. That's it. That's the whole description. It's au8. Slay. πpktβ Info regarding the tx packet. Pointer to astruct qed_ll2_tx_pkt_info, and it's carrying all the deets about your packet.notify_fwβ Issue doorbell to fw for this packet. It's abool, so it's a yes/no: ring the firmware's doorbell for this packet, or keep it quiet. ποΈ
fr fr, notify_fw is the main character here β it decides whether FW gets pinged or not. Choose wisely.
π₯ RETURN π₯
0 on success, failure otherwise. That's the entire rulebook. Zero means you ate and left no crumbs; anything else means something went sideways. π
π¦ SEE ALSO π¦
- Kernel file
./drivers/net/ethernet/qlogic/qed/qed_ll2.h qed_ll2_acquire_connection(9)qed_ll2_establish_connection(9)qed_ll2_post_rx_buffer(9)qed_ll2_release_connection(9)qed_ll2_set_fragment_of_tx_packet(9)qed_ll2_terminate_connection(9)qed_ll2_get_stats(9)qed_ll2_alloc(9)qed_ll2_setup(9)qed_ll2_free(9)
that's the whole friend group right there β acquire her, establish her, post her buffers, fragment her, terminate her, get her stats. the full ll2 cinematic universe π«Ά
and that's the page!! π sourced straight from ./drivers/net/ethernet/qlogic/qed, dated October 2026, and yes the man page title is literally qed_ll2_prepare_tx_packet(9) β go forth and prepare those Tx packets, bestie πβ¨
π¦ 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