diff options
author | Felix Fietkau <nbd@nbd.name> | 2020-12-18 19:47:14 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2021-01-21 13:33:31 +0100 |
commit | bf9009bf21b53501f2abb2f59f9314d85bde5fc9 (patch) | |
tree | 18bc2b6a702490998e7b05029a436ec4c32fea1d /include/net/fq.h | |
parent | net/fq_impl: bulk-free packets from a flow on overmemory (diff) | |
download | linux-bf9009bf21b53501f2abb2f59f9314d85bde5fc9.tar.xz linux-bf9009bf21b53501f2abb2f59f9314d85bde5fc9.zip |
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.h | 1 |
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; |