]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/devices/templates/default/udev.rules.erb
Remove no longer needed support for old Ubuntu versions
[chef.git] / cookbooks / devices / templates / default / udev.rules.erb
index 8f40e5b7dc784df0f93c804ee051fddcfe4a3eb1..d37fcb9eb55bb84ba6c73cad242a55824d2d7206 100644 (file)
@@ -24,3 +24,6 @@ ACTION=="add", SUBSYSTEM=="block", ENV{ID_BUS}=="<%= device[:bus] %>", ENV{ID_SE
 <% end -%>
 <% end -%>
 <% 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 gso off tso off sg off gro off"