hinic_rq_prepare_wqe(9)
π hinic_rq_prepare_wqe(9) β like, the Kernel API Manual entry, bestie π
Okay so picture this: you're deep in the kernel, you're in the Huawei hinic driver, and you need to get a wqe all cute and ready before it gets shoved onto the queue. That's literally this function. It's the little pre-party prep step. β¨ No cap.
β¨ NAME β¨
hinic_rq_prepare_wqe β prepare wqe before insert to the queue π«Ά
πΈ SYNOPSIS πΈ
void hinic_rq_prepare_wqe (struct hinic_rq *rq , u16 prod_idx , struct
hinic_rq_wqe *rq_wqe , struct hinic_sge *sge );
π¦ ARGUMENTS π¦
rqβ the recv queue, aka where all the action is happening πprod_idxβ the pi value, periodtrq_wqeβ the wqe itself, the main character fr frsgeβ the sge that the wqe uses for the recv buf address π
π SEE ALSO π
Kernel file: ./drivers/net/ethernet/huawei/hinic/hinic_hw_qp.c (iykyk π)
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_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_update(9)
Like, go read the whole squad, bestie. They all ate. π
And that's the whole vibe check, bestie β slay! π
Source: ./drivers/net/ethernet/huawei/..., dated October 2026, and the page itself is hinic_rq_prepare_wqe(9) β iconic, no notes. ππ§
π¦ 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