hfi1_make_ruc_header_9B(9)
π 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:
hfi1_make_grh(9)build_ahg(9)hfi1_make_ruc_header_16B(9)β yes the 16B one, the sequel πhfi1_schedule_send_yield(9)hfi1_do_send(9)
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
- 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