update_statusp(9)
π update_statusp(9) β Kernel API Manual energy π
Okay bestie, welcome to update_statusp(9) from the Kernel API Manual. Itβs giving βtiny function, very important order of operations,β and weβre gonna get into it. β¨
πΈ NAME πΈ
update_statusp β Update userspace status flag π
π SYNOPSIS π
void update_statusp (struct hfi1_pportdata *ppd , u32 state );
π¦ ARGUMENTS π¦
ppdβ Port data structure. Itβs the portβs whole vibe container. π«Άstateβ port state information. Thatβs the tea. π΅
π DESCRIPTION π
So like, the actual port status is determined by the host_link_state value in the ppd. Thatβs the main character right there. π
Important, no cap:host_link_stateMUST be updated before updating the user spacestatusp. Do not skip this step, bestie β order matters. ππ₯
π SEE ALSO π
Kernel file: ./drivers/infiniband/hw/hfi1/chip.c
The whole friend group:
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)encode_rcv_header_entry_size(9)hfi1_validate_rcvhdrcnt(9)set_hdrq_regs(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)
Signing off from ./drivers/infiniband/hw/hfi1 β October 2026 β page update_statusp(9). Slay, bye! π
β¨
π¦ 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