__block_for_resp(9)
π __block_for_resp(9) π
hey bestie, welcome to the Kernel API Manual, section 9 π«Ά this page is all about holding the cpu context and waiting for a response, and it is so real. no cap.
πΈ NAME πΈ
__block_for_resp β hold the cpu context and wait for response
β¨ SYNOPSIS β¨
int __block_for_resp (struct bnxt_qplib_rcfw *rcfw , u16 cookie );
π ARGUMENTS π
rcfwβ rcfw channel instance of rdev πcookieβ cookie to track the command πͺ
π§ DESCRIPTION π§
okay so __block_for_resp() will hold the cpu (non-sleepable context, bestie β like, do not try to sleep here π΄π«) and wait for command completion. the maximum holding interval is 8 second β³. that's the whole mood.
π₯ RETURN π₯
-ETIMEDOUTβ if command is not completed in specific time interval π0β if command is completed by firmware π
π¦ SEE ALSO π¦
- Kernel file:
./drivers/infiniband/hw/bnxt_re/qplib_rcfw.c bnxt_qplib_map_rc(9)bnxt_re_is_fw_stalled(9)__wait_for_resp(9)__poll_for_resp(9)__bnxt_qplib_rcfw_send_message(9)bnxt_qplib_rcfw_send_message(9)
these are the other pages/files to check out, iykyk π
source/version: ./drivers/infiniband/hw/bnxt_re Β· date: October 2026 Β· page: __block_for_resp(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