encode_rcv_h...r_entry_size(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so bestie, this page is from the Kernel API Manual (the header shortens the name to encode_rcv_h...r_entry_size(9), iykyk πŸ’…) and here's the whole vibe:

encode_rcv_header_entry_size β€” return chip specific encoding for size ✨


πŸŽ€ SYNOPSIS πŸŽ€

u8 encode_rcv_header_entry_size (u8 size );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • size β€” size in dwords, bestie. that's the whole input 🫢

πŸ’œ DESCRIPTION πŸ’œ

so what it does is convert a receive header entry size into the encoding used in the CSR. literally that's the job πŸ’…

and if the size you hand it is invalid? it returns a zero β€” no cap, that's the invalid signal. otherwise you get the encoding back. periodt ✨


🌈 SEE ALSO 🌈

the kernel file that lives with all this:

  • ./drivers/infiniband/hw/hfi1/chip.c

and the whole friend group of related functions, in order, no skipping πŸ™ˆ:


okay that's the whole page, bestie πŸŽ€ this lil manual comes from ./drivers/infiniband/hw/hfi1, dated October 2026, and it's filed under encode_rcv_h...r_entry_size(9) β€” slay, go read the kernel source now πŸ’–βœ¨

πŸ“¦ where this page comes from