__wait_for_resp(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to the __wait_for_resp(9) page from the Kernel API Manual πŸ’…βœ¨ this one is literally about waiting for a response without holding onto the cpu context, and it's giving very chill sleepable-context energy 🫢


✨ NAME ✨

__wait_for_resp β€” don't hold the cpu context and wait for response πŸ’–

like, the whole vibe is: you are waiting for the response, but you are not clutching the cpu context while you do it. no cap.


πŸŒ€ SYNOPSIS πŸŒ€

int __wait_for_resp (struct bnxt_qplib_rcfw *rcfw , u16 cookie );

πŸŽ€ ARGUMENTS πŸŽ€

  • rcfw β€” the rcfw channel instance of rdev 🌸
  • cookie β€” the cookie that tracks the command πŸ“

πŸ’€ DESCRIPTION πŸ’€

This function waits for command completion in a sleepable context. that's the whole mood, bestie β€” sleepable context, waiting for the command to complete πŸ˜΄πŸ’œ


πŸ”₯ RETURN πŸ”₯

  • 0 β€” the command is completed by firmware πŸ‘‘
  • non zero β€” an error code for the rest of the case πŸ’€

πŸ‘€ SEE ALSO πŸ‘€


and that's the page, bestie!! signing off from ./drivers/infiniband/hw/bnxt_re, dated October 2026 β€” mwah πŸ’‹πŸŽ€ periodt 🌈

πŸ“¦ where this page comes from