hinic_return_wqe(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… hinic_return_wqe(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual β€” this one's short and sweet but like, genuinely important, so pay attention 🫢


✨ NAME ✨

hinic_return_wqe β€” return the wqe when transmit failed πŸ’”

Like, when the transmit didn't go through? You give the wqe back. That's the whole gig. Iconic behavior, honestly.


🌸 SYNOPSIS 🌸

void hinic_return_wqe (struct hinic_wq *wq , unsigned int wqe_size );

That's it. No return value, no tricks, just vibes and a void. πŸ¦‹


πŸŽ€ ARGUMENTS πŸŽ€

  • wq β€” the wq you're handing the wqe back to πŸ’– like, this is where the return happens, bestie
  • wqe_size β€” the size of the wqe 🌸 yeah, you gotta tell it how big the thing is, no cap

πŸ”₯ SEE ALSO πŸ”₯

the literal source file, go look at it, iykyk:

Kernel file ./drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c

and the whole friend group 🫢:

queue_alloc_page(9), wqs_allocate_page(9), wqs_free_page(9), cmdq_allocate_page(9), cmdq_free_page(9), hinic_wqs_alloc(9), hinic_wqs_free(9), alloc_wqes_shadow(9), free_wqes_shadow(9), free_wq_pages(9), alloc_wq_pages(9), hinic_wq_allocate(9), hinic_wq_free(9), hinic_wqs_cmdq_alloc(9), hinic_wqs_cmdq_free(9), hinic_get_wqe(9), hinic_put_wqe(9), hinic_read_wqe(9), hinic_read_wqe_direct(9), wqe_shadow(9), hinic_write_wqe(9)


πŸ’€ real talk: no DESCRIPTION section on this one, no OPTIONS, no exit statuses β€” the page is literally just this. short queen energy πŸ‘‘

mwah πŸ’‹ that's the page! this little cutie comes from ./drivers/net/ethernet/huawei/..., dated October 2026, and it's filed under hinic_return_wqe(9) β€” periodt. πŸŽ€βœ¨

πŸ“¦ where this page comes from