nixos/networkd: allow configuring AckFilter for CAKE qdisc

The CAKE section for systemd.network units allows configuring whether or
not redundant ACKs should be dropped. This option corresponds to the
respective tc-cake(8) params "ack-filter", "ack-filter-aggressive" or
"no-ack-filter".

Add support for these values in the `cakeConfig` module so that users
can configure it.

authored by

Patrick Steinhardt and committed by
tomf
a8617e2b 8ebee6a7

+2
+2
nixos/modules/system/boot/networkd.nix
··· 1293 1293 "FirewallMark" 1294 1294 "Wash" 1295 1295 "SplitGSO" 1296 + "AckFilter" 1296 1297 ]) 1297 1298 (assertValueOneOf "AutoRateIngress" boolValues) 1298 1299 (assertInt "OverheadBytes") ··· 1325 1326 (assertRange "FirewallMark" 1 4294967295) 1326 1327 (assertValueOneOf "Wash" boolValues) 1327 1328 (assertValueOneOf "SplitGSO" boolValues) 1329 + (assertValueOneOf "AckFilter" (boolValues ++ ["aggressive"])) 1328 1330 ]; 1329 1331 1330 1332 sectionControlledDelay = checkUnitConfig "ControlledDelay" [