Subject: Re: kern/21190: wm(4)'s IPv4 checksum offloading broken in NetBSD 1.6.1
To: Matthias Scheler <tron@colwyn.zhadum.de>
From: Markus W Kilbinger <kilbi@rad.rwth-aachen.de>
List: netbsd-bugs
Date: 04/15/2003 10:47:34
> If I enable hardware-assisted IPv4 header checksums via "ifconfig wm0
> ip4csum" the machine cannot receive ICMP packets. They are dropped and
> this kernel message appears:
> 
> wm0: wm_tx_cksum: need to m_pullup, packet dropped
> 
> An identical card works without problems in a NetBSD 1.6R system. It
> seems that some of the hardware offload fixes need to be pulled up.

I see the same misbehavior of the wm driver with (last days and
todays) -current/1.6R, too!

  wm0 at pci2 dev 10 function 0: Intel i82545EM 1000BASE-T Ethernet, rev. 1
  wm0: interrupting at apic 4 int 22 (irq 5)
  wm0: Ethernet address 00:07:e9:0e:67:c7
  makphy0 at wm0 phy 1: Marvell 88E1011 Gigabit PHY, rev. 3
  makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
  [...]
  wm0: wm_tx_cksum: need to m_pullup, packet dropped


ti's hardware checksum support is also not working correctly if used
in routing/forwarding packets...

Only ex's hardware checksum support seems to work properly...

Markus.