]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
altq: Increase maximum number of CBQ and HFSC classes
authorKristof Provost <kp@FreeBSD.org>
Wed, 3 Mar 2021 10:06:49 +0000 (11:06 +0100)
committerKristof Provost <kp@FreeBSD.org>
Fri, 19 Mar 2021 22:39:01 +0000 (23:39 +0100)
commitbc98489262fb1600208ce87ccefa41f6c8cb9f9b
tree9e672c6610bb3167e4b3bb559e321e61869bcb4c
parent3756d591f7583887168e51672cf9324c0996defe
altq: Increase maximum number of CBQ and HFSC classes

In some configurations we need more classes than ALTQ supports by
default.  Increase the maximum number of classes we allow.
This will only cost us a comparatively trivial amount of memory, so
there's little reason not to do so.

If ever we find we want even more we may want to consider turning these
defines into a tunable, but for now do the easy thing.

Reviewed by: donner@
MFC after: 2 weeks
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D29034

(cherry picked from commit 448732b8e2d9bf4e2656a2e5a9e88cc58b88d4f4)
sys/net/altq/altq_cbq.h
sys/net/altq/altq_hfsc.h