Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

hardware-assisted checksum issue



Hi,

looking for network improvement, I noticed my 3COM cards had
hardware-assisted ability not enabled:
########################################################################
ex0:
flags=8b63<UP,BROADCAST,NOTRAILERS,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST>
mtu 1500
        capabilities=7<IP4CSUM,TCP4CSUM,UDP4CSUM>
        enabled=0
        address: xx:xx:xx:xx:xx:xx
        media: Ethernet autoselect (100baseTX full-duplex)
        status: active
        input: 46233 packets, 11188562 bytes, 139 multicasts
        output: 46272 packets, 21887374 bytes, 20 multicasts
        inet x.x.x.x netmask 0xffffff00 broadcast x.x.x.255
########################################################################

The card is a 3COM 905C-TX:
########################################################################
ex0 at pci0 dev 9 function 0: 3Com 3c905C-TX 10/100 Ethernet with mngmt
(rev. 0x6c)
ex0: interrupting at irq 12, event channel 8
bmtphy0 at ex0 phy 24: Broadcom 3c905C internal PHY, rev. 4
########################################################################

When I tried to enable hardware-assisted using "ifconfig ex0 ip4csum
tcp4csum udp4csum", the network card just stopped working. From the
console I did configure those flags in ifconfig.ex0 and rebooted, but
the network card was still unable to get any data - input or output.

I had enabled those flags enabled
(enabled=66<TCP4CSUM,UDP4CSUM,TCP4CSUM_Rx,UDP4CSUM_Rx>) on an hme0
sparc64 interface (same NetBSD version) using the same command line (so
I expect it to be correct).

Any idea ?
TIA,
        Jo

PS:
NetBSD 3.0_STABLE (LUUNA) #2: Thu Apr 20 22:23:40 CEST 2006
xentools20-2.0.7nb5 Userland Tools for Xen
xenkernel20-2.0.7   Xen Kernel
xenconsole-0.15b1.1 Console monitor for Xen

Attachment: signature.asc
Description: Digital signature



Home | Main Index | Thread Index | Old Index