irdma_fragcnt_to_quanta_sq(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… irdma_fragcnt_to_quanta_sq(9) πŸ’…

okay so bestie, you're in the Kernel API Manual, section 9, and today's main character is irdma_fragcnt_to_quanta_sq(9) β€” say that five times fast, i dare you 😭


✨ NAME ✨

irdma_fragcnt_to_quanta_sq β€” literally does the math to figure out the quanta from the fragment count, and it's specifically for the SQ (send queue, iykyk) πŸŽ€


🌸 SYNOPSIS 🌸

int irdma_fragcnt_to_quanta_sq (u32 frag_cnt , u16 *quanta );

that's it. that's the whole vibe. returns an int, takes two args. slay πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • frag_cnt β€” the number of fragments, fr fr. that's the input, girl, that's what you're feeding it πŸ“
  • quanta β€” this bad boy is a pointer (u16 *), and it's where the quanta for frag_cnt ends up. output goes here, no cap ✨

πŸ‘‘ SEE ALSO πŸ‘‘

okay so there's a whole friend group here and honestly they all live in the kernel file ./drivers/infiniband/hw/irdma/uk.c β€” go say hi to the whole squad 🫢

and yeah the directory is ./drivers/infiniband/hw/irdma in case you got lost on the way πŸ’€


lowkey obsessed with how tidy this whole page is. no bugs, no warnings, no drama β€” just vibes and quanta πŸ’–

and that's the whole thing, bestie!! from the Kernel API Manual, dated October 2026, source/version ./drivers/infiniband/hw/irdma β€” catch u on the next manpage, mwah πŸ§šπŸ’œ

πŸ“¦ where this page comes from