Package: ethtool
Version: 6+20080913-1

When I use hardware-dma-ring-rx and hardware-dma-ring-tx in 
/etc/network/interfaces, the parameters are not set on the network card.

Problem is in the script /etc/network/if-up.d/ethtool, where ethtool --ring is 
called, correct would be ethtool --set-ring.

Problem also exists in the latest version in unstable.

diff -Nru ethtool-6+20090323.orig/debian/ethtool.if-up 
ethtool-6+20090323.new/debian/ethtool.if-up
--- ethtool-6+20090323.orig/debian/ethtool.if-up        2009-11-10 
10:35:21.000000000 +0100
+++ ethtool-6+20090323.new/debian/ethtool.if-up 2009-11-10 10:42:03.000000000 
+0100
@@ -40,7 +40,7 @@
 [ -z "$SETTINGS" ] || $ETHTOOL --coalesce "$IFACE" $SETTINGS

 SETTINGS="$(gather_settings HARDWARE_DMA_RING_)"
-[ -z "$SETTINGS" ] || $ETHTOOL --ring "$IFACE" $SETTINGS
+[ -z "$SETTINGS" ] || $ETHTOOL --set-ring "$IFACE" $SETTINGS

 SETTINGS="$(gather_settings OFFLOAD_)"
 [ -z "$SETTINGS" ] || $ETHTOOL --offload "$IFACE" $SETTINGS


Thanks a lot,

Moritz


--
Moritz Möller

Bigpoint GmbH
Christoph-Probst-Weg 3
20251 Hamburg
Germany

Tel:  +49 (0)40 / 88 14 13 - 0
Mail: m.moel...@bigpoint.net

Managing Director: Heiko Hubertz
Register: HRB-Hamburg 94148





--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to