rvt_set_page(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ rvt_set_page β€” the page assignment bestie πŸ’…

okay so this is a page from the Kernel API Manual (section 9, kernel land, very serious business) and honestly? it's a whole little icon. let's get into it πŸŽ€


🌸 NAME 🌸

rvt_set_page β€” the page assignment function that gets called by ib_sg_to_pages, no cap πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

int rvt_set_page (struct ib_mr *ibmr , u64 addr );

like, that's the whole vibe. two arguments, one int coming back at you ✨


πŸ’œ ARGUMENTS πŸ’œ

  • ibmr β€” the memory region 🫢 (it's a struct ib_mr pointer, bestie, the main character of this function)
  • addr β€” the dma address of the mapped page πŸ“

🌈 RETURN 🌈

0 on success. that's it. that's the slay πŸ’€βœ¨

fr fr, 0 on success is the only thing documented here β€” don't go inventing error codes, iykyk πŸ™ˆ

🧚 SEE ALSO 🧚

the kernel file ./drivers/infiniband/sw/rdmavt/mr.c is where it all lives, and it brought its whole friend group:

like, the whole squad showed up πŸ‘‘πŸ”₯


that's the page, bestie πŸ’– it's sourced from ./drivers/infiniband/sw/rdmavt and dated October 2026 β€” mark your calendars, October 2026 said rvt_set_page(9) rights πŸŽ€ see u in the next manpage, mwah πŸ«ΆπŸ’…

πŸ“¦ where this page comes from