frwr_mr_init(9)
π
frwr_mr_init β like, the Kernel API Manual page for frwr_mr_init(9) π
okay bestie, gather round, because today we're getting into the networking part of the kernel and honestly? it's giving main character energy β¨
β¨ NAME β¨
frwr_mr_init β initialize one MR π«Ά
πΈ SYNOPSIS πΈ
int frwr_mr_init (struct rpcrdma_xprt *r_xprt , struct rpcrdma_mr *mr );
no cap, that's the whole signature. copy it exactly, i'm literally begging π
π¦ ARGUMENTS π¦
r_xprtβ the controlling transport instance, aka the boss of this whole situation πmrβ the generic MR that we're prepping for FRWR, like getting it dressed for the function π
π DESCRIPTION π
so here's the tea: this function initializes one MR. that's it, that's the vibe.
it returns zero if everything slayed β
β otherwise you get a negative errno back, which is the kernel's way of saying "girl, no" π
π₯ SEE ALSO π₯
if you're obsessed (and you should be), go read the kernel file ./net/sunrpc/xprtrdma/frwr_ops.c β it's the source of truth fr fr. and while you're there, the whole friend group:
frwr_mr_release(9)frwr_reset(9)frwr_query_device(9)frwr_map(9)frwr_wc_fastreg(9)frwr_send(9)frwr_reminv(9)frwr_wc_localinv(9)frwr_wc_localinv_wake(9)frwr_unmap_sync(9)frwr_wc_localinv_done(9)frwr_unmap_async(9)frwr_wp_create(9)
like, the whole squad. read them all, iyk yk π§
π and that's the page!! π
this iconic little number lives in ./net/sunrpc/xprtrdma and it's dated October 2026 β β mwah, go touch some errnos bestie, ily ππ·π¦
π¦ 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