hinic_sq_read_wqebb(9)
π hinic_sq_read_wqebb(9) β like, the kernel API manual, bestie π
okay so this is the page for hinic_sq_read_wqebb from the Kernel API Manual, and honestly? it's a little cutie with a big job. sit down, grab a strawberry drink π, and let's get into it.
β¨ NAME β¨
hinic_sq_read_wqebb β read wqe ptr in the current ci and update the ci, the wqe only have one wqebb π
yes bestie, one wqebb. that's the whole vibe. singular. iconic. no notes.
πΈ SYNOPSIS πΈ
struct hinic_sq_wqe * hinic_sq_read_wqebb (struct hinic_sq *sq , struct sk_buff **skb , unsigned int *wqe_size , u16 *cons_idx );
π¦ ARGUMENTS π¦
sqβ the send queue π (this is the main character, the queue we're reading from)skbβ returns theskbthat was saved π«Ά (it gets handed back to you through this)wqe_sizeβ the wqe size ptr πcons_idxβ consumer index of the wqe π
π DESCRIPTION π
Return wqe in ci position. β
like, that's it, that's the whole thing β it gives you the wqe sitting at the ci position, and (per the NAME section) it updates the ci as it goes, fr fr. and remember: the wqe only has one wqebb π
π₯ SEE ALSO π₯
the kernel file where all this lives:
./drivers/net/ethernet/huawei/hinic/hinic_hw_qp.c
and the whole friend group, no cap, every single one of them:
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_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)
π that's the page, bestie π
so yeah, this came out of ./drivers/net/ethernet/huawei/... and it's dated October 2026, and the header up top says hinic_sq_read_wqebb(9) β go read the source, slay, and hydrate ππ¦β¨
π¦ 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