free_rq_skb_arr(9)
π free_rq_skb_arr(9)
okay so real talk, this is a page straight out of the Kernel API Manual and it's honestly kind of a cute lil one β no cap, it's short and it does exactly one job. bestie, it's giving "small but mighty." π
β¨ NAME β¨
free_rq_skb_arr β frees the rq array for saved skb π
like, it's the cleanup girlie. when the saved skb array for an rq needs to go, this is who you call. periodt.
πΈ SYNOPSIS πΈ
void free_rq_skb_arr (struct hinic_rq *rq );
that's it. that's the whole vibe. one function, one argument, returns void because it's not here to give you anything back β it's here to free things π
π¦ ARGUMENTS π¦
rqβ the HW Receive Queue. yep, the hardware receive queue itself, handing over its rq array so it can be freed. that's the whole ask π«Ά
π SEE ALSO π
okay this list is long and I'm obsessed, the kernel devs really said "you will know everyone at this party" πβ¨
Kernel file: ./drivers/net/ethernet/huawei/hinic/hinic_hw_qp.c
and the whole squad, in order:
alloc_sq_skb_arr(9)free_sq_skb_arr(9)alloc_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_prepare_wqe(9)hinic_rq_update(9)
ngl if you're reading this page you're probably already deep in a driver teardown and that's iconic of you π go free that array, bestie. π§
mwah π this page lives at ./drivers/net/ethernet/huawei/... and it's dated October 2026, so jot that down β that's the source, the version vibe, and the date, all wrapped up with a lil bow πβ¨
π¦ 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