rsi_get_num_pkts_dequeue(9)

๐Ÿ“ฆ version 7.3.1, in nixpkgs unstable

๐Ÿ’… 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:


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