reset_psn(9)
πΈ NAME πΈ
okay bestie, meet reset_psn(9) from the Kernel API Manual β it literally resets the QP state to send starting from PSN. That's the whole vibe: QP state gets reset, and sending starts from the PSN you hand it. β¨
π SYNOPSIS π
void reset_psn (struct rvt_qp *qp , u32 psn );
π ARGUMENTS π
qpβ the QP. That's the one in question, bestie. π«Άpsnβ the packet sequence number to restart at. So this is the PSN where things pick back up. π₯
π¦ DESCRIPTION π¦
So here's the tea: this gets called from hfi1_rc_rcv to process an incoming RC ACK for the given QP. Yep β incoming RC ACK, given QP, all through hfi1_rc_rcv. π
Heads up: it's called at interrupt level with the QP s_lock held. That's the exact situation, no cap. β οΈ
π SEE ALSO π
Kernel file ./drivers/infiniband/hw/hfi1/rc.c β and the whole crew is:
make_rc_ack(9)hfi1_make_rc_req(9)update_num_rd_atomic(9)hfi1_rc_verbs_aborted(9)update_qp_retry_state(9)rc_rcv_resp(9)rc_rcv_error(9)hfi1_rc_rcv(9)
byeee π«Ά source/version: ./drivers/infiniband/hw/hfi1 Β· date: October 2026 Β· page: reset_psn(9) β mwah πβ¨
π¦ 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