__block_for_resp(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… __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 πŸ¦‹

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