hinic_init_rq(9)
π hinic_init_rq(9) π
okay so you're reading the kernel API manual for hinic_init_rq, bestie β welcome, this one's a little cutie from the Huawei hinic driver family and it's literally just here to get your HW Receive Queue set up and ready to slay. β¨
πΈ NAME πΈ
hinic_init_rq β Initialize HW Receive Queue π«Ά
β SYNOPSIS β
int hinic_init_rq (struct hinic_rq *rq , struct hinic_hwif *hwif ,
struct hinic_wq *wq , struct msix_entry *entry );
π ARGUMENTS π
rqβ the HW Receive Queue itself, our main character πhwifβ the HW Interface, aka the thing that lets you actually access the HW πwqβ the Work Queue holding all the data of the RQ πentryβ the msix entry for the rq, no cap β¨
π¦ DESCRIPTION π¦
Return 0 β Success ππ, negative β Failure π
the way this is the whole description⦠anyway. 0 good, negative bad. iykyk.
π SEE ALSO π
Kernel file ./drivers/net/ethernet/huawei/hinic/hinic_hw_qp.c β go read it, fr fr π
and the whole friend group:
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_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_prepare_wqe(9)hinic_rq_update(9)
and that's the page, bestie π§π this little manual lives at ./drivers/net/ethernet/huawei/... and it's stamped October 2026 β so yeah, from the future, iconic behavior honestly. periodt. π
β¨
π¦ 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