hwrm_req_timeout(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… hwrm_req_timeout(9) β€” from the Kernel API Manual, bestie ✨

Okay so this page is literally the glow-up guide for hwrm_req_timeout β€” the little function that lets you tell a request "hey babe, you've got this much time, no pressure 🫢" before it has to be done. It lives in the Kernel API Manual, and yes, it's as niche and iconic as it sounds.


✨ NAME ✨

hwrm_req_timeout β€” sets the completion timeout for the request. That's it, that's the whole vibe. πŸŽ€


🌸 SYNOPSIS 🌸

void hwrm_req_timeout (struct bnxt *bp , void *req , unsigned int
timeout );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • bp β€” the driver context. Your main character struct, the one that knows everything. πŸ‘‘
  • req β€” the request you're setting the timeout on. The one getting the deadline. ⏰
  • timeout β€” the timeout, in milliseconds. Not seconds, bestie, milliseconds. Get it right. πŸ’€

πŸ’– DESCRIPTION πŸ’–

So what this does is set the timeout that's associated with the request β€” and that timeout is the one that gets used for subsequent calls to hwrm_req_send. Like, you configure it once here and then it's locked in for whenever you actually send. Slay. πŸ”₯

And why would you even need this? Because some requests are long running β€” they're the slow ones, the ones that need a little extra grace β€” and they genuinely require a different timeout than the default. So you come in with this function and you're like "no babe, take your time, I believe in you" and you give it a bigger window. Not me being emotionally supportive of a kernel request 😭🫢


🌈 SEE ALSO 🌈

Kernel file ./drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c β€” that's where the magic lives, iykyk. ✨

And the whole friend group, fr fr:


Lowkey obsessed with how this whole family of functions just vibes together in one file. Go read the source, it's giving documentation-adjacent. πŸ’œ

Okay that's the page!! πŸ“ Big sign-off energy: this one came from ./drivers/net/ethernet/broadco... (yes it's truncated like that, don't come for me) and it's dated October 2026, and the whole thing is filed under hwrm_req_timeout(9) in the Kernel API Manual. Periodt. πŸ’…πŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from