summaryrefslogtreecommitdiffstats
path: root/include/net/fq.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2020-12-18 19:47:14 +0100
committerJohannes Berg <johannes.berg@intel.com>2021-01-21 13:33:31 +0100
commitbf9009bf21b53501f2abb2f59f9314d85bde5fc9 (patch)
tree18bc2b6a702490998e7b05029a436ec4c32fea1d /include/net/fq.h
parent07be2fed5ee7b3a01e0b21c15814b590af9c1527 (diff)
downloadlinux-bf9009bf21b53501f2abb2f59f9314d85bde5fc9.tar.bz2
net/fq_impl: drop get_default_func, move default flow to fq_tin
Simplifies the code and prepares for a rework of scanning for flows on overmemory drop. Signed-off-by: Felix Fietkau <nbd@nbd.name> Link: https://lore.kernel.org/r/20201218184718.93650-2-nbd@nbd.name Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net/fq.h')
-rw-r--r--include/net/fq.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/fq.h b/include/net/fq.h
index e39f3f8d5f8a..5df100b77099 100644
--- a/include/net/fq.h
+++ b/include/net/fq.h
@@ -47,6 +47,7 @@ struct fq_flow {
struct fq_tin {
struct list_head new_flows;
struct list_head old_flows;
+ struct fq_flow default_flow;
u32 backlog_bytes;
u32 backlog_packets;
u32 overlimit;