STRUCT FQ_FLOW(9)
struct fq_flow(9) Β· Kernel API Manual π
π NAME π
struct fq_flow β the per traffic flow queue, bestie. Literally one queue for each traffic flow, thatβs the whole assignment. β¨
β¨ SYNOPSIS β¨
Okay so hereβs the struct, and we are keeping it exact because we do not mess with code, periodt:
struct fq_flow {
struct fq_tin *tin;
struct list_head flowchain;
struct sk_buff_head queue;
u32 backlog;
int deficit;
};
π«Ά Members π«Ά
tinβ owner of this flow. Itβs for managing collisions, i.e. when a packet hashes to an index which points to a flow that is already owned by a different tin the packet is destined to. In such case the implementer must provide a fallback flow. yes bestie, a fallback flow is required, iykyk πflowchainβ can be linked tofq_tin'snew_flowsorold_flows. Used for DRR++ (deficit round robin) based round robin queuing similar to the one found innet/sched/sch_fq_codel.c. same energy as that file, fr fr β¨queueβsk_buffqueue to hold packets. the packets live here πbacklogβ number of bytes pending in the queue. The number of packets can be found inqueue.qlen. bytes pending = backlog, packet count =queue.qlenπ₯deficitβ used for DRR++. deficit round robin says hi π¦
π SEE ALSO π
- Kernel file
./include/net/fq.hβ also go say hi tostruct fq_tin(9)andstruct fq(9). π
πΈ Source/version:./include/netΒ· Date:October 2026Β· Page:struct fq_flow(9)β okay love u, bye bestie! π
π¦ 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