hwrm_req_drop(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

hwrm_req_drop β€” bestie, this is the one that releases all resources associated with the request ✨ like it's cleaning out the whole group chat.


πŸ¦‹ SYNOPSIS πŸ¦‹

void hwrm_req_drop (struct bnxt *bp , void *req );

πŸŽ€ ARGUMENTS πŸŽ€

  • bp β€” the driver context. Your main character struct, the whole vibe check for the driver 🫢
  • req β€” the request to consume, releasing the associated resources. Heads up bestie: the request object, any slices, and its associated response are no longer valid after this 😭 it's giving "consumed, gone, don't text them again".

🌸 DESCRIPTION 🌸

Okay so here's the tea β˜• it is legal to call hwrm_req_drop on an unowned request, provided it has not already been consumed by hwrm_req_send β€” think of it like releasing an aborted request, no drama needed πŸ’œ

But ngl, a given request should not be dropped more than once, and it should not be dropped after having been consumed by hwrm_req_send. Doing either of those is an error β€” the context will not be found and a stack trace will be rendered in the kernel log πŸ’€ not the slay you want fr fr.

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c β€” go read it, iykyk πŸ‘‘


✨ mwah, that's the page ✨ this little icon came from ./drivers/net/ethernet/broadco... (yes the path gets cut off, that's just how the footer do πŸ’…) and it's dated October 2026, in the hwrm_req_drop(9) era. go forth and drop responsibly, bestie πŸŽ€πŸ¦‹πŸ’–

πŸ“¦ where this page comes from