hinic_rq_get_wqe(9)
π hinic_rq_get_wqe β bestie, let's grab that wqe pointer β¨
Okay so this is a page from the Kernel API Manual, and it's about hinic_rq_get_wqe β literally the function that gets you a wqe ptr in the current pi AND updates the pi at the same time. Two things at once, main character energy fr fr π
πΈ SYNOPSIS πΈ
struct hinic_rq_wqe * hinic_rq_get_wqe (struct hinic_rq *rq , unsigned
int wqe_size , u16 *prod_idx );
That's the whole vibe. She takes three things and hands you back a struct hinic_rq_wqe *. Slay π
β¨ ARGUMENTS β¨
rqβ the rq you're pulling the wqe from π«Ά this is your starting point, bestiewqe_sizeβ the wqe size, yeah that's it, that's the size of the wqe πprod_idxβ the returned pi π so you pass it in and the pi comes back to you
π¦ DESCRIPTION π¦
Return wqe pointer. That's the whole thing. She returns the wqe pointer, periodt π
π₯ SEE ALSO π₯
The kernel file lives at ./drivers/net/ethernet/huawei/hinic/hinic_hw_qp.c β go look, iykyk π§
And here's the whole friend group, no cap, every single one:
alloc_sq_skb_arr(9)free_sq_skb_arr(9)alloc_rq_skb_arr(9)free_rq_skb_arr(9)hinic_init_sq(9)hinic_clean_sq(9)alloc_rq_cqe(9)free_rq_cqe(9)hinic_init_rq(9)hinic_clean_rq(9)hinic_get_sq_free_wqebbs(9)hinic_get_rq_free_wqebbs(9)hinic_sq_prepare_wqe(9)sq_prepare_db(9)hinic_sq_write_db(9)hinic_sq_get_wqe(9)hinic_sq_return_wqe(9)hinic_sq_write_wqe(9)hinic_sq_read_wqebb(9)hinic_sq_read_wqe(9)hinic_sq_put_wqe(9)hinic_sq_get_sges(9)hinic_rq_write_wqe(9)hinic_rq_read_wqe(9)hinic_rq_read_next_wqe(9)hinic_rq_put_wqe(9)hinic_rq_get_sge(9)hinic_rq_prepare_wqe(9)hinic_rq_update(9)
Like, the whole squad showed up for this one ππ
okay that's the page, hope it ate π this came out of ./drivers/net/ethernet/huawei/... and it's dated October 2026 β yes bestie, October 2026, we're manifesting β¨ go read the source, ily, bye π
π¦ 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