rps_flow_is_active(9)

๐Ÿ“ฆ version 7.3.1, in nixpkgs unstable

๐ŸŒธ NAME ๐ŸŒธ

Okay bestie, this is the page for rps_flow_is_active(9) from the Kernel API Manual, and it's here to check whether the flow is recently active. That's the whole assignment. ๐Ÿ’…โœจ

โœจ SYNOPSIS โœจ

The function signature is literally this, no edits:

bool rps_flow_is_active (struct rps_dev_flow *rflow , u8 log , unsigned
       int cpu );

๐ŸŽ€ ARGUMENTS ๐ŸŽ€

  • rflow โ€” the specific flow to check activity on. ๐Ÿ‘€
  • log โ€” ilog2(hashsize). ๐Ÿงฎ
  • cpu โ€” the CPU saved in rflow. ๐Ÿซถ

๐Ÿ’… DESCRIPTION ๐Ÿ’…

So here's the tea: if the CPU has processed many packets since the flow's last activity โ€” and we mean beyond 10 times the table size โ€” the flow is considered stale. ๐Ÿ’€ Like, not fresh, bestie. Periodt.

โœ… RETURN โœ…

Returns true if the flow was recently active. No cap. โœ…

๐Ÿฆ‹ SEE ALSO ๐Ÿฆ‹

Kernel file ./net/core/dev.c is the home base ๐Ÿ , and here's the full squad it links up with:


Signed off with love from ./net/core ๐Ÿ’– โ€” October 2026, still serving rps_flow_is_active(9) realness. ๐ŸŽ€โœจ

๐Ÿ“ฆ where this page comes from