nixos/estuary: Increase NIC TX / RX buffer sizes
This commit is contained in:
parent
02395acaf1
commit
d64f750761
@ -84,6 +84,12 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
environment = {
|
||||||
|
systemPackages = with pkgs; [
|
||||||
|
ethtool
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
lvm = {
|
lvm = {
|
||||||
dmeventd.enable = true;
|
dmeventd.enable = true;
|
||||||
@ -138,7 +144,11 @@ in
|
|||||||
links = {
|
links = {
|
||||||
"10-wan" = {
|
"10-wan" = {
|
||||||
matchConfig.MACAddress = "d0:50:99:fa:a7:99";
|
matchConfig.MACAddress = "d0:50:99:fa:a7:99";
|
||||||
linkConfig.Name = "wan";
|
linkConfig = {
|
||||||
|
Name = "wan";
|
||||||
|
RxBufferSize = 4096;
|
||||||
|
TxBufferSize = 4096;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
# Mellanox ConnectX-2
|
# Mellanox ConnectX-2
|
||||||
#"10-wan" = {
|
#"10-wan" = {
|
||||||
|
Loading…
Reference in New Issue
Block a user