hfi1_get_rc_ohdr(9)
πΈ hfi1_get_rc_ohdr π
okay so bestie, we're in hfi1_get_rc_ohdr(9) β yes that's the Kernel API Manual side of the house, section 9, driver land, no cap. this little function is literally about grabbing the extended header, and the @opah is the opaheader. that's the whole vibe. main character energy for one (1) job π«Ά
β¨ NAME β¨
hfi1_get_rc_ohdr β get extended header, where the @opah is the opaheader. that's it. that's the function. iconic, honestly π
π¦ SYNOPSIS π¦
struct ib_other_headers * hfi1_get_rc_ohdr (struct hfi1_opa_header *opah
);
so we take in a struct hfi1_opa_header * and we hand back a struct ib_other_headers *. slay. π
π ARGUMENTS π
opahβ-- undescribed --π so pretty much nobody documented this one. it's the opaheader pointer, bestie, that's what you're holding. like, the kernel-doc generator straight up had nothing for us here. we're all just vibing with the mystery π
ngl that-- undescribed --is doing a lot of heavy lifting. it's giving "left as an exercise for the reader." but fr fr,opahis the opaheader you're passing in. periodt.
π SEE ALSO π
okay so if you're gonna be nosy about this whole receive-header situation (and you should be, it's lowkey fascinating), go read the kernel file ./drivers/infiniband/hw/hfi1/hfi.h and then cry a little over this absolutely stacked roster of friends:
rcvhdrq_size(9)hfi1_rcd_head(9)hfi1_set_rcd_head(9)hfi1_seq_incr_wrap(9)hfi1_seq_cnt(9)hfi1_set_seq_cnt(9)last_rcv_seq(9)get_hdrqentsize(9)get_hdrq_cnt(9)hfi1_is_slowpath(9)hfi1_is_fastpath(9)hfi1_set_fast(9)sc_to_vlt(9)hfi1_may_ecn(9)hfi1_rcvhdrtail_kvaddr(9)hfi1_need_drop(9)
the way that's sixteen man pages. SIXTEEN. someone was thorough and we respect it so much π₯π
that's the whole page, bestie β short, sweet, and utterly undocumented on the argument side. this β¨masterpieceβ¨ comes to you from the kernel source at ./drivers/infiniband/hw/hfi1, dated October 2026, and it will forever be known as hfi1_get_rc_ohdr(9) π« go forth and get that extended header π¦
π¦ 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