smc_llc_add_pending_send(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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