hinic_sq_read_wqe(9)
β¨ hinic_sq_read_wqe(9) β¨
okay so bestie, we're in the <pink>Kernel API Manual</pink> today and this little cutie is hinic_sq_read_wqe β say it with me, it's giving "read the wqe pointer at the current ci and then update that ci" π
πΈ NAME πΈ
hinic_sq_read_wqe β literally reads the wqe ptr sitting in the current ci and then updates the ci. that's the whole job. no cap π
π SYNOPSIS π
struct hinic_sq_wqe * hinic_sq_read_wqe (struct hinic_sq *sq , struct
sk_buff **skb , unsigned int wqe_size , u16 *cons_idx );
π¦ ARGUMENTS π¦
sqβ the send queue, she's the main character here πskbβ returns the skb that was saved π«Άwqe_sizeβ the size of the wqe, like her measurements fr frcons_idxβ consumer index of the wqe β
π DESCRIPTION π
Return the wqe in the ci position. that's it, that's the vibe check, she ate and left no crumbs β¨
π§ SEE ALSO π§
first up, the kernel file, and yes you can go read it yourself, iykyk:
./drivers/net/ethernet/huawei/hinic/hinic_hw_qp.c
and now the whole friend group, everyone say hi π:
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_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)
ok that's the whole page bestie, go read a wqe, slay π
signing off from ./drivers/net/ethernet/huawei/..., dated October 2026 β hbd to this manpage, hinic_sq_read_wqe(9) out ππ«
π¦ 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