hfi1_make_ruc_header_9B(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… hfi1_make_ruc_header_9B(9) β€” bestie's guide to building a 9B header ✨

okay so this is a page from the Kernel API Manual, and honestly? it's giving niche-but-iconic. we're talking about hfi1_make_ruc_header_9B, a function that literally builds a 9B header. that's the whole vibe. let's get into it 🫢


🌸 NAME 🌸

hfi1_make_ruc_header_9B β€” bestie, it builds a 9B header. that's it, that's the tweet. πŸ’–


πŸŽ€ SYNOPSIS πŸŽ€

void hfi1_make_ruc_header_9B (struct rvt_qp *qp , struct
ib_other_headers *ohdr , u32 bth0 , u32 bth1 , u32 bth2 , int middle ,
struct hfi1_pkt_state *ps );

no return value, no drama, just vibes and a void. πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • qp β€” the queue pair. the main character of this whole situation, ngl.
  • ohdr β€” a pointer to the destination header memory. this is where the header gets to live its best life. ✨
  • bth0 β€” bth0, passed in from the RC/UC builder. it's a hand-me-down and we respect it.
  • bth1 β€” bth1, also passed in from the RC/UC builder. siblings, honestly.
  • bth2 β€” bth2, passed in from the RC/UC builder too. the third one. periodt. πŸ’€
  • middle β€” non zero implies indicates ahg "could" be used. yes, the original says "implies indicates" and we are not fixing it, and yes the quotes around "could" are load-bearing, lowkey. πŸ™ˆ
  • ps β€” the current packet state. the situation, the context, the whole vibe check. πŸ”₯

πŸ‘‘ DESCRIPTION πŸ‘‘

so this routine may disarm ahg under these situations β€” and bestie, when i say may, i mean it, that's literally what it says:

  • packet needs a GRH
  • BECN needed
  • migration state not IB_MIG_MIGRATED

that's the list. three things. ahg gets disarmed. slay. 🌈

heads up: these are the exact situations the page lists, no more no less β€” don't come for me with extra lore, i'm just the messenger πŸ’œ

🧚 SEE ALSO 🧚

the kernel file ./drivers/infiniband/hw/hfi1/ruc.c, plus these absolute icons:


and that's the page!! πŸ’– source lives in ./drivers/infiniband/hw/hfi1, dated October 2026 β€” go off, king. πŸŽ€βœ¨ bye bestie, ily, read your manpages!! πŸ’…

πŸ“¦ where this page comes from