]> git.openstreetmap.org Git - chef.git/commitdiff
Completely disable faulty offloading on HP NC362i
authorGrant Slater <git@firefishy.com>
Thu, 29 Oct 2015 09:58:40 +0000 (09:58 +0000)
committerGrant Slater <git@firefishy.com>
Thu, 29 Oct 2015 09:58:40 +0000 (09:58 +0000)
cookbooks/devices/templates/default/udev.rules.erb

index 1683ba7a87b62c240f908d01aa40211d5334f553..837362bb07bbbcb7e65af1fad38d1ed2638c5048 100644 (file)
@@ -31,4 +31,4 @@ ACTION=="add", SUBSYSTEM=="cpu", ENV{MODALIAS}=="?*", RUN+="/sbin/modprobe -bv $
 <% end -%>
 
 # 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 sg off"
+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"