diff options
author | Renato Botelho <renato@netgate.com> | 2015-08-17 13:52:52 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-08-17 13:52:52 -0300 |
commit | e46bfdb12094486aefecb3b9644da7fddfdeb6fe (patch) | |
tree | 87782e64522c97c73b9f7847275788777a839688 /sys/contrib/altq | |
parent | 77458f0d7cb617f5b07d6e249e961647e6ba84e1 (diff) | |
download | FreeBSD-src-e46bfdb12094486aefecb3b9644da7fddfdeb6fe.zip FreeBSD-src-e46bfdb12094486aefecb3b9644da7fddfdeb6fe.tar.gz |
Importing pfSense patch altq_max_queues.diff
Diffstat (limited to 'sys/contrib/altq')
-rw-r--r-- | sys/contrib/altq/altq/altq_cbq.h | 2 | ||||
-rw-r--r-- | sys/contrib/altq/altq/altq_hfsc.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/contrib/altq/altq/altq_cbq.h b/sys/contrib/altq/altq/altq_cbq.h index 30a15c7..76096af 100644 --- a/sys/contrib/altq/altq/altq_cbq.h +++ b/sys/contrib/altq/altq/altq_cbq.h @@ -186,7 +186,7 @@ struct cbq_getstats { #define CBQ_TIMEOUT 10 #define CBQ_LS_TIMEOUT (20 * hz / 1000) -#define CBQ_MAX_CLASSES 256 +#define CBQ_MAX_CLASSES 2048 #ifdef ALTQ3_COMPAT #define CBQ_MAX_FILTERS 256 diff --git a/sys/contrib/altq/altq/altq_hfsc.h b/sys/contrib/altq/altq/altq_hfsc.h index d04b378..e5595cb 100644 --- a/sys/contrib/altq/altq/altq_hfsc.h +++ b/sys/contrib/altq/altq/altq_hfsc.h @@ -49,7 +49,7 @@ struct service_curve { /* special class handles */ #define HFSC_NULLCLASS_HANDLE 0 -#define HFSC_MAX_CLASSES 64 +#define HFSC_MAX_CLASSES 2048 /* hfsc class flags */ #define HFCF_RED 0x0001 /* use RED */ |