1
0
Fork 0
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:
Matt Layher 2023-08-22 10:27:53 -04:00
parent 543ae973ba
commit 1a48e014e2

View file

@ -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: