hinic_get_wqe(9)
π hinic_get_wqe(9)
okay so bestie, welcome to the Kernel API Manual page for hinic_get_wqe β yes it's a section 9 man page, yes it's about the huawei hinic driver, and yes we're gonna make it cute. π¦
β¨ NAME β¨
hinic_get_wqe β grab a wqe ptr in the current pi and update the pi, periodt π
π SYNOPSIS π
struct hinic_hw_wqe * hinic_get_wqe (struct hinic_wq *wq , unsigned int
wqe_size , u16 *prod_idx );
πΈ ARGUMENTS πΈ
wqβ the wq you're pulling a wqe out of, bestie. that's the whole vibe. π«Άwqe_sizeβ literally just the size of the wqe. iconic, no notes.prod_idxβ the pi that gets returned to you. iykyk π
π DESCRIPTION π
Returns the wqe pointer. that's it, that's the function. slay. β¨
π₯ SEE ALSO π₯
go read the source, it's right here in the kernel tree:
./drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c
and the whole friend group of related functions, all of them, in order, no skipping π§:
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_return_wqe(9)hinic_put_wqe(9)hinic_read_wqe(9)hinic_read_wqe_direct(9)wqe_shadow(9)hinic_write_wqe(9)
ngl if you got here you're probably deep in ring management and honestly? main character energy. keep going π
and that's the page!! brought to you by ./drivers/net/ethernet/huawei/... dated October 2026 β mwah, go touch some wqes bestie ππ hinic_get_wqe(9) forever π
π¦ 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