frwr_mr_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:

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