From: Grant Slater Date: Thu, 6 Aug 2020 16:23:30 +0000 (+0100) Subject: devices: Additional NIC ring tuning X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/41adec0474053ba2daf8dc188150a77d99f6156b devices: Additional NIC ring tuning --- diff --git a/cookbooks/devices/templates/default/udev.rules.erb b/cookbooks/devices/templates/default/udev.rules.erb index 3629c3651..2ac6e431f 100644 --- a/cookbooks/devices/templates/default/udev.rules.erb +++ b/cookbooks/devices/templates/default/udev.rules.erb @@ -75,10 +75,16 @@ SUBSYSTEM=="net", ACTION=="add", ATTRS{vendor}=="0x8086", ATTRS{device}=="0x1521 SUBSYSTEM=="net", ACTION=="add", ATTRS{vendor}=="0x8086", ATTRS{device}=="0x1528", RUN+="/sbin/ethtool -G $name rx 4096 tx 4096" # Ethernet controller: Intel Corporation I210 Gigabit Network Connection SUBSYSTEM=="net", ACTION=="add", ATTRS{vendor}=="0x8086", ATTRS{device}=="0x1533", RUN+="/sbin/ethtool -G $name rx 4096 tx 4096" +# Ethernet controller: Intel Corporation I211 Gigabit Network Connection +SUBSYSTEM=="net", ACTION=="add", ATTRS{vendor}=="0x8086", ATTRS{device}=="0x1539", RUN+="/sbin/ethtool -G $name rx 4096 tx 4096" # Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03) SUBSYSTEM=="net", ACTION=="add", ATTRS{vendor}=="0x8086", ATTRS{device}=="0x157b", RUN+="/sbin/ethtool -G $name rx 4096 tx 4096" # Ethernet controller: Intel Corporation Ethernet Controller 10G X550T SUBSYSTEM=="net", ACTION=="add", ATTRS{vendor}=="0x8086", ATTRS{device}=="0x1563", RUN+="/sbin/ethtool -G $name rx 4096 tx 4096" +# Ethernet controller: Intel Corporation Ethernet Controller X710 for 10GBASE-T +SUBSYSTEM=="net", ACTION=="add", ATTRS{vendor}=="0x8086", ATTRS{device}=="0x1586", RUN+="/sbin/ethtool -G $name rx 4096 tx 4096" +# Ethernet controller: Intel Corporation Ethernet Controller X710 for 10GBASE-T +SUBSYSTEM=="net", ACTION=="add", ATTRS{vendor}=="0x8086", ATTRS{device}=="0x15ff", RUN+="/sbin/ethtool -G $name rx 4096 tx 4096" # Ethernet controller: Intel Corporation Ethernet Connection X722 for 10GBASE-T SUBSYSTEM=="net", ACTION=="add", ATTRS{vendor}=="0x8086", ATTRS{device}=="0x37d2", RUN+="/sbin/ethtool -G $name rx 4096 tx 4096"