Subject: Re: wm*?
To: Bill Studenmund <wrstuden@netbsd.org>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: port-macppc
Date: 05/12/2005 22:37:16
On Thu, May 12, 2005 at 09:43:59AM -0700, Bill Studenmund wrote:
> On Wed, May 11, 2005 at 07:26:46PM -0700, John Klos wrote:
> > Hi,
> > 
> > Does anyone know whether wm* (Intel gigabit ethernet) cards on macppcc can 
> > be used with hardware tcp / udp / ip checksumming? As of 1.6.2, they could 
> > not.
> 
> I'm running a 1.6H kernel (yeah, it's ancient) and have a wm card in. It 
> works fine.
> 
> I turned off checksumming because my router used to have problems with it 
> (we messed up forwarding when we had checksum offload active). I've never 
> gotten around to re-adding it.
> 
> tanis> ifconfig wm0
> wm0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         capabilities=7<IP4CSUM,TCP4CSUM,UDP4CSUM>
>         enabled=0<>
>         address: 00:07:e9:00:a5:eb
>         media: Ethernet autoselect (100baseTX full-duplex)
>         status: active
>         inet 10.3.0.2 netmask 0xffff0000 broadcast 10.3.255.255
>         inet6 fe80::207:e9ff:fe00:a5eb%wm0 prefixlen 64 scopeid 0x1
>         inet6 2002:42a6:bc3e:3::2 prefixlen 64

That's rather different to my:

wm0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        capabilities=3f80<TSO4>
        enabled=0
        address: 00:0c:f1:ce:0c:d1
        media: Ethernet autoselect (100baseTX full-duplex,flowcontrol,rxpause,txpause)
wm0 at pci2 dev 12 function 0: Intel i82540EM 1000BASE-T Ethernet, rev. 2
makphy0 at wm0 phy 1: Marvell 88E1011 Gigabit PHY, rev. 3

on i386. I have this odd feeling that I used to see IP4CSUM and friends,
but can't swear to it. (Side question: if you don't use autoselect, how
can you set flowcontrol,rxpause,txpause ? For some reason when setting
the switch port to 100 full duplex, and wm0 to media 100baseTX
mediaopt full-duplex, both ends act as though the cable weren't there.)

Cheers,

Patrick