mirror of
https://github.com/mdlayher/homelab.git
synced 2024-12-14 11:47:32 +00:00
nixos/routnerr-3: Ethernet tuning
This commit is contained in:
parent
543ae973ba
commit
1a48e014e2
1 changed files with 8 additions and 1 deletions
|
@ -10,7 +10,14 @@ let
|
||||||
Type = "ether";
|
Type = "ether";
|
||||||
MACAddress = mac;
|
MACAddress = mac;
|
||||||
};
|
};
|
||||||
linkConfig.Name = name;
|
linkConfig = {
|
||||||
|
Name = name;
|
||||||
|
|
||||||
|
# Hardware tuning. Note that wan0/wan1/mgmt0 all happen to support a max
|
||||||
|
# of 4096 since the NixOS option won't allow "max".
|
||||||
|
RxBufferSize = 4096;
|
||||||
|
TxBufferSize = 4096;
|
||||||
|
};
|
||||||
}));
|
}));
|
||||||
|
|
||||||
vlanNetdev = (name:
|
vlanNetdev = (name:
|
||||||
|
|
Loading…
Reference in a new issue