projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc9b2fa
)
Completely disable faulty offloading on HP NC362i
author
Grant Slater
<git@firefishy.com>
Thu, 29 Oct 2015 09:58:40 +0000
(09:58 +0000)
committer
Grant Slater
<git@firefishy.com>
Thu, 29 Oct 2015 09:58:40 +0000
(09:58 +0000)
cookbooks/devices/templates/default/udev.rules.erb
patch
|
blob
|
history
diff --git
a/cookbooks/devices/templates/default/udev.rules.erb
b/cookbooks/devices/templates/default/udev.rules.erb
index 1683ba7a87b62c240f908d01aa40211d5334f553..837362bb07bbbcb7e65af1fad38d1ed2638c5048 100644
(file)
--- a/
cookbooks/devices/templates/default/udev.rules.erb
+++ b/
cookbooks/devices/templates/default/udev.rules.erb
@@
-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"