hfi1_schedule_send_yield(9)
π
hfi1_schedule_send_yield(9) π
okay so bestie, this one is straight from the Kernel API Manual, and itβs here to explain a tiny but iconic little helper β¨
π NAME π
testing whether a yield is required for the QP send engine π
β¨ SYNOPSIS β¨
bool hfi1_schedule_send_yield (struct rvt_qp *qp , struct hfi1_pkt_state *ps , bool tid );
πΈ ARGUMENTS πΈ
qpβ a pointer to QP. literally just a pointer to the QP, bestie π«Άpsβ a pointer to a structure with commonly lookup values for the send engine progress. yes, thatβs the whole vibe πtidβtrueif it is the tid leg π
π¦ DESCRIPTION π¦
This routine checks if the time slice for the QP has expired for RC QPs. if it has, an additional work entry is queued π₯ at this point, other QPs have an opportunity to be scheduled. so itβs giving βlet someone else have the auxβ energy, no cap.
It returns true if a yield is required; otherwise, false is returned. periodt π
π SEE ALSO π
- Kernel file
./drivers/infiniband/hw/hfi1/ruc.c hfi1_make_grh(9)build_ahg(9)hfi1_make_ruc_header_16B(9)hfi1_make_ruc_header_9B(9)hfi1_do_send(9)
mwah π source/version check: ./drivers/infiniband/hw/hfi1; date: October 2026. slay β¨
π¦ 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