hwrm_req_drop(9)
π 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 π
__hwrm_req_init(9)hwrm_req_timeout(9)hwrm_req_alloc_flags(9)hwrm_req_replace(9)hwrm_req_flags(9)hwrm_req_hold(9)hwrm_req_send(9)hwrm_req_send_silent(9)hwrm_req_dma_slice(9)
β¨ 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
- 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