Re: [Bugme-new] [Bug 16626] New: Machine hangs with EIP at skb_copy_and_csum_dev
From: Plamen Petrov <hidden>
Date: 2010-08-20 07:38:15
На 20.8.2010 г. 09:34, Eric Dumazet написа:
Le vendredi 20 août 2010 à 09:26 +0300, Plamen Petrov a écrit :quoted
Posting this only in the hope that it will be helpfull to the "net guys"...Its a forwarding setup. Please post ifconfig -a iptables -nvL iptables -t nat -nvL iptables -t mangle -nvL ip route ethtool -k eth0 (& eth1 ...) Try to disable gro ? ethtool -K eth0 gro off ethtool -K eth1 gro off
Sorry about this, but when I dig a bit into this, I found that I had a pretty old ethtool:
root@fs:~# ethtool --help ethtool version 5 Usage: ethtool DEVNAME Display standard information about device ...
So my ethtool did not know anything about gro, because by looking at http://git.kernel.org/?p=network/ethtool/ethtool.git;a=shortlog I saw I had this one: 2006-09-01 Jeff Garzik Release version 5. origin v5 and gro reading/setting was added "a bit later"... 2009-03-06 Jeff Garzik Get/set GRO settings. So, I went on and compiled myself a new ethtool:
root@fs:~# ethtool -h ethtool version 2.6.35 Usage: ethtool DEVNAME Display standard information about device ...
And run it on my 2.6.34.4 kernel, which produced these:
root@fs:~# ethtool -k eth0
Offload parameters for eth0: rx-checksumming: on tx-checksumming: on scatter-gather: on tcp-segmentation-offload: off udp-fragmentation-offload: off generic-segmentation-offload: on generic-receive-offload: off large-receive-offload: off ntuple-filters: off receive-hashing: off
root@fs:~# ethtool -k eth1
Offload parameters for eth1: rx-checksumming: on tx-checksumming: on scatter-gather: on tcp-segmentation-offload: on udp-fragmentation-offload: off generic-segmentation-offload: on generic-receive-offload: off large-receive-offload: off ntuple-filters: off receive-hashing: off
root@fs:~# ethtool -k eth2
Offload parameters for eth2: rx-checksumming: on tx-checksumming: on scatter-gather: on tcp-segmentation-offload: off udp-fragmentation-offload: off generic-segmentation-offload: on generic-receive-offload: off large-receive-offload: off ntuple-filters: off receive-hashing: off
root@fs:~#
But again, this is on 2.6.34.4. Could it be that "generic-receive-offload" is ON by default on my only gigabit capable tg3 card on 2.6.35.x and later? I will try to determine this myself later, but the machine is a gateway on the local area network, and is needed from the user here... Thanks!