On Thu, 19 Jun 2025, Emmanuel Nyarko wrote:
so i just want to have just codel. no #ifdef blocks, just either simple have it in base during boot, or modload it when you need it.
Thr #if blocks should be replaced with module_hook()s. That way we make a run-time decision on whether ALTQ is available, rather than a compile-time decision. +---------------------+--------------------------+----------------------+ | Paul Goyette (.sig) | PGP Key fingerprint: | E-mail addresses: | | (Retired) | 1B11 1849 721C 56C8 F63A | p...@whooppee.com | | Software Developer | 6E2E 05FD 15CE 9F2D 5102 | pgoye...@netbsd.org | | & Network Engineer | | pgoyett...@gmail.com | +---------------------+--------------------------+----------------------+