]> git.openstreetmap.org Git - chef.git/commitdiff
Fix power save bug against all Intel 82583/82574
authorGrant Slater <git@firefishy.com>
Sat, 16 Mar 2019 16:30:24 +0000 (16:30 +0000)
committerGrant Slater <git@firefishy.com>
Sat, 16 Mar 2019 16:30:24 +0000 (16:30 +0000)
cookbooks/devices/templates/default/udev.rules.erb
cookbooks/hardware/templates/default/irqbalance.erb

index a9f7f3fdf21efa7da2193ba5ea4880276d49deec..2d58f21869398c594284c9c7d3e29ee32f95eabb 100644 (file)
@@ -29,8 +29,10 @@ ACTION=="add", SUBSYSTEM=="block", ENV{ID_BUS}=="<%= device[:bus] %>", ENV{ID_SE
 # Disable scatter-gather offload for HP NC362i network controllers
 SUBSYSTEM=="net", ACTION=="add", ATTRS{vendor}=="0x8086", ATTRS{device}=="0x10c9", ATTRS{subsystem_vendor}=="0x103c", ATTRS{subsystem_device}=="0x323f", RUN+="/sbin/ethtool -K $name gso off tso off sg off gro off"
 
 # Disable scatter-gather offload for HP NC362i network controllers
 SUBSYSTEM=="net", ACTION=="add", ATTRS{vendor}=="0x8086", ATTRS{device}=="0x10c9", ATTRS{subsystem_vendor}=="0x103c", ATTRS{subsystem_device}=="0x323f", RUN+="/sbin/ethtool -K $name gso off tso off sg off gro off"
 
-# Fix Power Saving Bug on Intel 82574L network controller in Supermicro HPC machines
-SUBSYSTEM=="net", ACTION=="add", ATTRS{vendor}=="0x8086", ATTRS{device}=="0x10d3", ATTRS{subsystem_vendor}=="0x15d9", ATTRS{subsystem_device}=="0x10d3", RUN+="/usr/local/bin/fixeep-82574_83.sh $name"
+# Fix Power Saving Bug on Intel 82574L and Intel 82583 network controllers
+SUBSYSTEM=="net", ACTION=="add", ATTRS{vendor}=="0x8086", ATTRS{device}=="0x10d3", RUN+="/usr/local/bin/fixeep-82574_83.sh $name"
+SUBSYSTEM=="net", ACTION=="add", ATTRS{vendor}=="0x8086", ATTRS{device}=="0x10f6", RUN+="/usr/local/bin/fixeep-82574_83.sh $name"
+SUBSYSTEM=="net", ACTION=="add", ATTRS{vendor}=="0x8086", ATTRS{device}=="0x150c", RUN+="/usr/local/bin/fixeep-82574_83.sh $name"
 
 # Workaround unreliable Western Digital WD RE3/RE4 disks (ATA only)
 # Set sufficent Linux subsystem timeout and fix severe NCQ performance issue
 
 # Workaround unreliable Western Digital WD RE3/RE4 disks (ATA only)
 # Set sufficent Linux subsystem timeout and fix severe NCQ performance issue
index e416a090cbec26b8ce6a96c6c9a6b9c0c4c291ac..4a10bd20d03e017d7f7194eac7f9070e41904e89 100644 (file)
@@ -1,11 +1,11 @@
 # DO NOT EDIT - This file is being maintained by Chef
 # DO NOT EDIT - This file is being maintained by Chef
-#Configuration for the irqbalance daemon
+# Configuration for the irqbalance daemon
 
 
-#Should irqbalance be enabled?
+# Should irqbalance be enabled?
 ENABLED="1"
 ENABLED="1"
-#Balance the IRQs only once?
+# Balance the IRQs only once?
 ONESHOT="0"
 
 ONESHOT="0"
 
-#irqbalance maintainer recommends ignore hint policy
-#http://sourceforge.net/p/e1000/bugs/394/?page=1
+# irqbalance maintainer recommends ignore hint policy
+# http://sourceforge.net/p/e1000/bugs/394/?page=1
 DOPTIONS="--hintpolicy=ignore"
 DOPTIONS="--hintpolicy=ignore"