smc_llc_add_pending_send(9)
πΈ NAME πΈ
okay so bestie, this is the smc_llc_add_pending_send(9) page from the Kernel API Manual β and itβs literally giving βadd LLC control message to pending WQE transmitsβ β¨ no cap.
π¦ SYNOPSIS π¦
int smc_llc_add_pending_send (struct smc_link *link , struct smc_wr_buf **wr_buf , struct smc_wr_tx_pend_priv **pend );
π ARGUMENTS π
linkβ pointer to the SMC link used for sending the LLC control message πwr_bufβ out variable returning a pointer to the work request payload buffer π«Άpendβ out variable returning a pointer to the private pending WR tracking. Itβs the context the transmit complete handler will get π
π DESCRIPTION π
So like, this function reserves and pre-fills an entry for a pending work request send/tx. The mid-level smc_llc_send_msg uses it to get ready for the later actual send/tx β main character prep energy, honestly π.
Heads up though: it can sleep due to smc_get_ctrl_buf (if youβre not in softirq context). So donβt be caught snoozing where snoozing is not allowed ππ.
β RETURN β
0 on success, otherwise an error value. Thatβs the vibe check, periodt π
.
π SEE ALSO π
Kernel file ./net/smc/smc_llc.c β go read it, iykyk ππ
byeee bestie π«Ά β source/version ./net/smc, date October 2026, and this was smc_llc_add_pending_send(9) signing off π
π¦ 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