tid_rdma_fin...ys_blocks_4k(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 tid_rdma_fin...ys_blocks_4k(9) β€” the Kernel API Manual moment πŸ’…

okay so this is a page from the Kernel API Manual, bestie, and the star of the show is tid_rdma_find_phys_blocks_4k. yes the header truncates it with ... like it's too iconic to spell out fully. we move.


✨ NAME ✨

tid_rdma_find_phys_blocks_4k β€” get groups base on mr info 🫢

(not me keeping the original grammar exactly, that's the whole point, no editing the vibes of the kernel)


πŸŽ€ SYNOPSIS πŸŽ€

u32 tid_rdma_find_phys_blocks_4k (struct tid_rdma_flow *flow , struct
       page **pages , u32 npages , struct tid_rdma_pageset *list );

like, it takes four things and gives you back a u32. that's the whole arc. she's literally a function. πŸ’–


🌈 ARGUMENTS 🌈

  • flow β€” the overall info for a TID RDMA segment. like the big picture, the main character energy of the whole segment πŸ‘‘
  • pages β€” pointer to an array of page structs. a whole little ensemble cast of pages, and this is the pointer to them πŸ’«
  • npages β€” number of pages. yes bestie, we are counting them, it's giving accountability ✨
  • list β€” page set array to return. this is where the answer goes, so like, hand her an empty container and she fills it 🎁

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the tea: this routine returns the number of groups associated with the current sge information. fr fr, that's what it does. πŸ”₯

and the way it works? this implementation is based on the expected receive find_phys_blocks β€” but adjusted to use the MR information vs. the pfn. so it's the glow-up version of the original, using MR info instead of pfn. periodt. πŸ’…


⭐ RETURN ⭐

the number of RcvArray entries πŸ’– that's it, that's the return value, no cap.


🌸 SEE ALSO 🌸

so much lore, i'm obsessed. this whole little universe lives in the kernel file ./drivers/infiniband/hw/hfi1/tid_rdma.c and honestly you should go read all of these:

iykyk 🧚 (and yes, the 8k sibling is right there in the list, she's the twin, we love her too πŸ’œ)


ok genuine warning-ish aside for the record: this page's listed source path is ./drivers/infiniband/hw/hfi1 and the date on it is October 2026, and the truncated title tid_rdma_fin...ys_blocks_4k(9) is literally the header/footer text as written. no inventing, no guessing, we just report the facts cutely πŸ’€

and that's the whole page bestie!! sourced straight from ./drivers/infiniband/hw/hfi1, dated October 2026, filed under tid_rdma_fin...ys_blocks_4k(9) πŸŽ€ stay hydrated, read your kernel docs, slay πŸ’–βœ¨

πŸ“¦ where this page comes from