hinic_rq_put_wqe(9)
π hinic_rq_put_wqe(9) β kernel API manual, but make it make sense
okay so bestie, welcome to the glow-up of hinic_rq_put_wqe(9), straight out of the Kernel API Manual. this one is short and sweet, no cap β it's giving "tiny function, big responsibilities" energy π
β¨ NAME β¨
hinic_rq_put_wqe β release the ci for new wqes
like, literally what it says on the tin, bestie. it releases the consumer index (ci) so fresh wqes can come through π¦
πΈ SYNOPSIS πΈ
void hinic_rq_put_wqe (struct hinic_rq *rq , u16 cons_idx , unsigned int
wqe_size );
returns void, so no little return value to obsess over β it just does the thing and dips π
π ARGUMENTS π
rqβ the recv queue. this is the main character of the whole operation, the queue we're working with πcons_idxβ consumer index of the wqe (u16, in case you were wondering). this is the index that's getting released, periodt β¨wqe_sizeβ the size of the wqe.unsigned int, and yes you gotta tell it how big the wqe is, no guessing allowed π
π₯ SEE ALSO π₯
the whole friend group shows up here, so let me introduce everybody:
- Kernel file
./drivers/net/ethernet/huawei/hinic/hinic_hw_qp.cβ the source file, the mothership π 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_get_sge(9)hinic_rq_prepare_wqe(9)hinic_rq_update(9)
that's the entire squad, and honestly? iconic lineup. iykyk π«Ά
ngl if you're poking around this corner of the hinic driver, go read the friends above too β they all live together in hinic_hw_qp.c and they're lowkey a package deal β
and that's the whole page, bestie! this lil beauty comes courtesy of the source at ./drivers/net/ethernet/huawei/... and it's dated October 2026 β hinic_rq_put_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