mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 12:15:34 +03:00
nixos/systemd/networkd: allow passing flow control fields to link (#402587)
This commit is contained in:
commit
6be6061a7c
1 changed files with 6 additions and 0 deletions
|
@ -100,6 +100,9 @@ let
|
|||
"ReceiveQueues"
|
||||
"TransmitQueues"
|
||||
"TransmitQueueLength"
|
||||
"RxFlowControl"
|
||||
"TxFlowControl"
|
||||
"AutoNegotiationFlowControl"
|
||||
])
|
||||
(assertValueOneOf "MACAddressPolicy" [
|
||||
"persistent"
|
||||
|
@ -137,6 +140,9 @@ let
|
|||
(assertValueOneOf "GenericSegmentationOffload" boolValues)
|
||||
(assertValueOneOf "GenericReceiveOffload" boolValues)
|
||||
(assertValueOneOf "LargeReceiveOffload" boolValues)
|
||||
(assertValueOneOf "RxFlowControl" boolValues)
|
||||
(assertValueOneOf "TxFlowControl" boolValues)
|
||||
(assertValueOneOf "AutoNegotiationFlowControl" boolValues)
|
||||
(assertInt "RxChannels")
|
||||
(assertRange "RxChannels" 1 4294967295)
|
||||
(assertInt "TxChannels")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue