opnsense-src/sys/net/altq
James Skon 6ecf086d5a altq: improve pfctl config time for large numbers of queues
In the current implementation of altq_hfsc.c, whne new queues are being
added (by pfctl), each queue is added to the tail of the siblings linked
list under the parent queue.

On a system with many queues (50,000+) this leads to very long load
times at the insertion process must scan the entire list for every new
queue,

Since this list is unordered, this changes merely adds the new queue to
the head of the list rather than the tail.

Reviewed by:	kp
MFC after:	3 weeks
Sponsored by:	RG Nets
Differential Revision:	https://reviews.freebsd.org/D35964

(cherry picked from commit 13890d30f8)
2022-08-18 09:12:13 +02:00
..
altq.h net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
altq_cbq.c net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
altq_cbq.h altq: Increase maximum number of CBQ and HFSC classes 2021-03-19 23:39:01 +01:00
altq_cdnr.h
altq_classq.h
altq_codel.c net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
altq_codel.h
altq_fairq.c net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
altq_fairq.h
altq_hfsc.c altq: improve pfctl config time for large numbers of queues 2022-08-18 09:12:13 +02:00
altq_hfsc.h altq: Increase maximum number of CBQ and HFSC classes 2021-03-19 23:39:01 +01:00
altq_priq.c net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
altq_priq.h net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
altq_red.c net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
altq_red.h net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
altq_rio.c net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
altq_rio.h net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
altq_rmclass.c altq: Fix panics on rmc_restart() 2021-08-30 10:02:14 +02:00
altq_rmclass.h
altq_rmclass_debug.h
altq_subr.c altq: Fix typo in features sysctl description 2021-07-31 10:12:01 +02:00
altq_var.h Reduce the time it takes the kernel to install a new PF config containing a large number of queues 2019-02-11 05:17:31 +00:00
if_altq.h net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00