hinic_sq_get_wqe(9)
π hinic_sq_get_wqe(9) β get wqe ptr in the current pi and update the pi
okay so bestie, we're in the Kernel API Manual rn and this page is about hinic_sq_get_wqe β a little function that hands you a wqe pointer sitting in the current pi and then updates that pi for you. no cap, that's the whole vibe. π
β¨ SYNOPSIS β¨
struct hinic_sq_wqe * hinic_sq_get_wqe (struct hinic_sq *sq , unsigned
int wqe_size , u16 *prod_idx );
like yes, that's the whole signature, and yes you have to love her π
πΈ ARGUMENTS πΈ
sqβ the sq you're pulling a wqe out of, bestie. that's the source πwqe_sizeβ the size of the wqe. literally how big it is π¦prod_idxβ the returned pi. she gets handed back to you, okurrr β¨
π DESCRIPTION π
Return wqe pointer.
that's it. that's the whole description. iconic behaviour honestly, she said "return wqe pointer" and dipped π but fr fr, that's the deal β you get the wqe pointer.
π SEE ALSO π
the kernel file lives right here, no gatekeeping:
./drivers/net/ethernet/huawei/hinic/hinic_hw_qp.c
and here's the whole friend group, all of them, in order, because we do not skip anyone in this house π«Ά
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_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_get_wqe(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)
π reminder that this page came from ./drivers/net/ethernet/huawei/... and is dated October 2026 β and that's the cute little sign-off, mwah πβ¨
π¦ 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