mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-13 13:15:30 +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"
|
"ReceiveQueues"
|
||||||
"TransmitQueues"
|
"TransmitQueues"
|
||||||
"TransmitQueueLength"
|
"TransmitQueueLength"
|
||||||
|
"RxFlowControl"
|
||||||
|
"TxFlowControl"
|
||||||
|
"AutoNegotiationFlowControl"
|
||||||
])
|
])
|
||||||
(assertValueOneOf "MACAddressPolicy" [
|
(assertValueOneOf "MACAddressPolicy" [
|
||||||
"persistent"
|
"persistent"
|
||||||
|
@ -137,6 +140,9 @@ let
|
||||||
(assertValueOneOf "GenericSegmentationOffload" boolValues)
|
(assertValueOneOf "GenericSegmentationOffload" boolValues)
|
||||||
(assertValueOneOf "GenericReceiveOffload" boolValues)
|
(assertValueOneOf "GenericReceiveOffload" boolValues)
|
||||||
(assertValueOneOf "LargeReceiveOffload" boolValues)
|
(assertValueOneOf "LargeReceiveOffload" boolValues)
|
||||||
|
(assertValueOneOf "RxFlowControl" boolValues)
|
||||||
|
(assertValueOneOf "TxFlowControl" boolValues)
|
||||||
|
(assertValueOneOf "AutoNegotiationFlowControl" boolValues)
|
||||||
(assertInt "RxChannels")
|
(assertInt "RxChannels")
|
||||||
(assertRange "RxChannels" 1 4294967295)
|
(assertRange "RxChannels" 1 4294967295)
|
||||||
(assertInt "TxChannels")
|
(assertInt "TxChannels")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue