init_qos(9)
π init_qos(9) β the Kernel API Manual, bestie edition β¨
okay so this is init_qos(9) from the Kernel API Manual and literally all it does is set up RX qos β short page, but we're gonna give it the full main character treatment π
πΈ NAME πΈ
init_qos β init RX qos π¦
β¨ SYNOPSIS β¨
void init_qos (struct hfi1_devdata *dd , struct rsm_map_table *rmt );
π ARGUMENTS π
ddβ the device data, iykyk πrmtβ the RSM map table, iconic honestly
π DESCRIPTION π
So here's the vibe: this routine initializes Rule 0 and the RSM map table so we can implement quality of service (qos). Two things, one function, she's efficient like that π«Ά
If all of the limit tests succeed β like, all of them, no skips, we love a thorough queen β then qos gets applied based on the array interpretation of krcvqs, where entry 0 is VL0. noted! β
The number of vl bits (n) and the number of qpn bits (m) get computed so they can feed both the RSM map table and the single rule. two mouths, one spoon, we're feeding them both π
lowkey a small function but the vibes are immaculate β everything here is load-bearing, no filler π
π SEE ALSO π
Bestie. There are so many friends here. Brace yourself π
Kernel file ./drivers/infiniband/hw/hfi1/chip.chfi1_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)encode_rcv_header_entry_size(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)hfi1_init_dd(9)create_pbc(9)
that's the whole group chat, no one got left on read ππ₯
okay that's the page!! mwah π this came out of ./drivers/infiniband/hw/hfi1 and it's dated October 2026 β so yeah, she's from the future, slay πβ¨ 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