rsi_get_num_pkts_dequeue(9)
๐ rsi_get_num_pkts_dequeue โ Kernel API Manual, bestie edition ๐
okay so this is one of those little kernel helpers from the Kernel API Manual, and honestly? it's giving "small function, big main character energy." โจ
๐ธ NAME ๐ธ
rsi_get_num_pkts_dequeue โ this function determines the number of packets to be dequeued based on the number of bytes calculated using txop. like, that's the whole job. it does the math so nobody else has to ๐งฎ๐
๐ฆ SYNOPSIS ๐ฆ
u32 rsi_get_num_pkts_dequeue (struct rsi_common *common , u8 q_num );
literally right there. u32 in, u32 out, vibes immaculate ๐
๐ ARGUMENTS ๐
commonโ Pointer to the driver private structure. it's the driver's whole personality in one struct, so yeah, you need it ๐ซถq_numโ the queue from which pkts have to be dequeued. pick your queue, bestie, this one right here ๐
โญ RETURN โญ
pkt_num: Number of pkts to be dequeued. that's it, that's the answer, no notes ๐
ngl if you were hoping for a twist ending, there isn't one โ it just tells you how many packets you're dequeuing and minds its own business ๐
๐ SEE ALSO ๐
Kernel file ./drivers/net/wireless/rsi/rsi_91x_core.c โ go read the source, it's literally right there, iykyk ๐
and the whole friend group:
rsi_determine_min_weight_queue(9)rsi_recalculate_weights(9)rsi_core_determine_hal_queue(9)rsi_core_queue_pkt(9)rsi_core_dequeue_pkt(9)rsi_core_qos_processor(9)rsi_core_xmit(9)
that's the page, bestie ๐ mwah ๐ โ this one's from ./drivers/net/wireless/rsi, dated October 2026, and it will forever be known as rsi_get_num_pkts_dequeue(9) ๐โจ
๐ฆ 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