hfi1_make_grh(9)
π hfi1_make_grh(9) β like, the Kernel API Manual page you actually wanna read
okay so bestie, welcome to the Kernel API Manual entry for hfi1_make_grh(9) π this one's short and sweet, so grab your iced coffee and let's go β¨
π¦ NAME π¦
hfi1_make_grh β literally just constructs a GRH header, that's the whole vibe π«
πΈ SYNOPSIS πΈ
u32 hfi1_make_grh (struct hfi1_ibport *ibp , struct ib_grh *hdr , const
struct ib_global_route *grh , u32 hwords , u32 nwords );
no cap, that's the exact signature, keep it character for character bestie π«Ά
β¨ ARGUMENTS β¨
ibpβ a pointer to the IB port πhdrβ a pointer to the GRH header being constructed πgrhβ the global route address to send to π¦hwordsβ size of header after grh being sent in dwords πnwordsβ the number of 32 bit words of data being sent π’
π DESCRIPTION π
Return the size of the header in 32 bit words. that's it. that's the whole thing π short king behavior, honestly π
π₯ SEE ALSO π₯
- Kernel file
./drivers/infiniband/hw/hfi1/ruc.cπ build_ahg(9)hfi1_make_ruc_header_16B(9)hfi1_make_ruc_header_9B(9)hfi1_schedule_send_yield(9)hfi1_do_send(9)
iykyk β go read those next, they're all in the same friend group fr fr π
k bye bestie, slay your send path π
this little love letter lives in ./drivers/infiniband/hw/hfi1, dated October 2026, and yeah it's filed under hfi1_make_grh(9) in the Kernel API Manual β periodt ππΈ
π¦ 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