frwr_wc_localinv_wake(9)
π frwr_wc_localinv_wake(9) β from the Kernel API Manual, bestie β¨
okay so before we even start: this is a page from the Kernel API Manual, and the function we're stanning today is frwr_wc_localinv_wake. yes the name is a mouthful. no we're not changing it. let's go π
β¨ NAME β¨
frwr_wc_localinv_wake β the callback the RDMA provider hits you with when a LOCAL_INV WC shows up π«
like, literally. that's the whole job description. the RDMA provider invokes it for a LOCAL_INV WC. iconic behavior honestly π
π¦ SYNOPSIS π¦
void frwr_wc_localinv_wake (struct ib_cq *cq , struct ib_wc *wc );
yeah that's it. void in, void out, two args in the middle. no cap π«Ά
πΈ ARGUMENTS πΈ
cqβ the completion queue π (astruct ib_cq *, if you're keeping track)wcβ the WCE for a completedLocalInvWR π she's the receipt, basically
π DESCRIPTION π
So what does it do? It awakens anyone who's waiting for an MR to finish being fenced ππ«Ά
read that again. awaken. anyone. waiting. the MR is done being fenced, and this function is the one knocking on the door like "bestie you're up π". main character energy fr fr.
π§ SEE ALSO π§
the kernel file in question lives at ./net/sunrpc/xprtrdma/frwr_ops.c π β go read it, iykyk.
and the whole friend group π«Ά:
frwr_mr_release(9)frwr_reset(9)frwr_mr_init(9)frwr_query_device(9)frwr_map(9)frwr_wc_fastreg(9)frwr_send(9)frwr_reminv(9)frwr_wc_localinv(9)frwr_unmap_sync(9)frwr_wc_localinv_done(9)frwr_unmap_async(9)frwr_wp_create(9)
all of them. every single one. squint at them in that exact order if you want, i don't make the rules π
π cute sign-off time: this little beauty comes to you from./net/sunrpc/xprtrdma, dated October 2026, and she is, of course,frwr_wc_localinv_wake(9). slay, ate, periodt. ππβ¨
π¦ 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