encode_rcv_h...r_entry_size(9)
πΈ 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 π:
hfi1_addr_from_offset(9)read_csr(9)write_csr(9)get_csr_addr(9)update_xmit_counters(9)apply_link_downgrade_policy(9)is_rcv_avail_int(9)is_rcv_urgent_int(9)general_interrupt(9)hfi1_rcd_eoi_intr(9)hfi1_netdev_rx_napi(9)data_vls_operational(9)hfi1_validate_rcvhdrcnt(9)set_hdrq_regs(9)update_statusp(9)wait_logical_linkstate(9)read_mod_write(9)set_intr_bits(9)set_up_interrupts(9)hfi1_get_qp_map(9)init_qpmap_table(9)init_qos(9)hfi1_init_dd(9)create_pbc(9)
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
- 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