rvt_set_page(9)
β¨ 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 astruct ib_mrpointer, 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:
rvt_driver_mr_init(9)rvt_mr_exit(9)rvt_alloc_lkey(9)rvt_free_lkey(9)rvt_get_dma_mr(9)rvt_reg_user_mr(9)rvt_dereg_clean_qp_cb(9)rvt_dereg_clean_qps(9)rvt_check_refs(9)rvt_mr_has_lkey(9)rvt_ss_has_lkey(9)rvt_dereg_mr(9)rvt_alloc_mr(9)rvt_map_mr_sg(9)rvt_fast_reg_mr(9)rvt_invalidate_rkey(9)rvt_sge_adjacent(9)rvt_lkey_ok(9)rvt_rkey_ok(9)
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
- 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