freebsd-dev/sys/net/altq
James Skon 13890d30f8 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
2022-07-28 22:00:07 +02:00
..
altq_cbq.c altq: Remove unused arguments from altq_attach() 2021-01-25 19:58:22 +01:00
altq_cbq.h altq: Increase maximum number of CBQ and HFSC classes 2021-03-04 20:58:22 +01:00
altq_cdnr.h
altq_classq.h
altq_codel.c altq: Remove unused arguments from altq_attach() 2021-01-25 19:58:22 +01:00
altq_codel.h
altq_fairq.c altq: Remove unused arguments from altq_attach() 2021-01-25 19:58:22 +01:00
altq_fairq.h
altq_hfsc.c altq: improve pfctl config time for large numbers of queues 2022-07-28 22:00:07 +02:00
altq_hfsc.h altq: Increase maximum number of CBQ and HFSC classes 2021-03-04 20:58:22 +01:00
altq_priq.c altq: Remove unused arguments from altq_attach() 2021-01-25 19:58:22 +01:00
altq_priq.h
altq_red.c
altq_red.h
altq_rio.c
altq_rio.h
altq_rmclass_debug.h
altq_rmclass.c altq: Fix panics on rmc_restart() 2021-08-23 21:35:41 +02:00
altq_rmclass.h
altq_subr.c altq: mark callouts as mpsafe 2021-09-04 17:26:10 +02:00
altq_var.h altq: mark callouts as mpsafe 2021-09-04 17:26:10 +02:00
altq.h
if_altq.h altq: Remove unused arguments from altq_attach() 2021-01-25 19:58:22 +01:00