mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +03:00
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.
This commit is contained in:
parent
8ebee6a764
commit
a8617e2b0d
1 changed files with 2 additions and 0 deletions
|
@ -1293,6 +1293,7 @@ let
|
|||
"FirewallMark"
|
||||
"Wash"
|
||||
"SplitGSO"
|
||||
"AckFilter"
|
||||
])
|
||||
(assertValueOneOf "AutoRateIngress" boolValues)
|
||||
(assertInt "OverheadBytes")
|
||||
|
@ -1325,6 +1326,7 @@ let
|
|||
(assertRange "FirewallMark" 1 4294967295)
|
||||
(assertValueOneOf "Wash" boolValues)
|
||||
(assertValueOneOf "SplitGSO" boolValues)
|
||||
(assertValueOneOf "AckFilter" (boolValues ++ ["aggressive"]))
|
||||
];
|
||||
|
||||
sectionControlledDelay = checkUnitConfig "ControlledDelay" [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue