ibmvnic_wait_for_completion(9)
π NAME π
ibmvnic_wait_for_completion β bestie, this one checks the device state and waits for completion, like a loyal friend holding your spot in line π«Ά
Oh and hiii, welcome to the kernel API manual for ibmvnic_wait_for_completion(9) β yes that's the whole title, we're getting comfy in here β¨
β¨ SYNOPSIS β¨
int ibmvnic_wait_for_completion (struct ibmvnic_adapter *adapter ,
struct completion *comp_done , unsigned long timeout );
It's giving "three arguments, one int, no notes" π
π ARGUMENTS π
adapterβ the private device data, aka the main character's personal info π«Ά literally the device's whole vibe in one struct.comp_doneβ the completion structure to wait for, the thing we're sitting here refreshing for like a group chat reply πtimeoutβ how long we're willing to wait, measured in milliseconds (yes, milliseconds, not vibes) β±οΈ
π¦ DESCRIPTION π¦
okay so picture this: we wait for a completion signal, OR we wait until the timeout limit is reached β whichever comes first, no cap π
and while we're doing all that waiting, it's also checking that the device is still active, because bestie stays observant πβ¨ multitasking icon behaviour fr fr.
So like: wait for the signal, watch the clock, keep an eye on the device. All at once. Slay π₯
π SEE ALSO π
Kernel file ./drivers/net/ethernet/ibm/ibmvnic.c β the family home π and the whole squad lives there too:
reuse_ltb(9)alloc_long_term_buff(9)free_ltb_set(9)alloc_ltb_set(9)map_rxpool_buf_to_ltb(9)map_txpool_buf_to_ltb(9)release_rx_pools(9)reuse_rx_pools(9)init_rx_pools(9)release_tx_pools(9)reuse_tx_pools(9)init_tx_pools(9)get_hdr_lens(9)create_hdr_descs(9)build_hdr_descs_arr(9)do_passive_init(9)
iykyk β go read them, they're all iconic in their own way π
lowkey a whole reading list but that's just how the kernel rolls π
πΈ okay that's the page!! this little gem lives in ./drivers/net/ethernet/ibm, it's dated October 2026, and it's filed under the ever-iconic ibmvnic_wait_for_completion(9) β mwah, go forth and wait for completions 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