re(4) checksum offload problem

Jelte Jansen jelte at NLnetLabs.nl
Tue Oct 16 03:22:21 PDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi,

i'm seeing bad IP/UDP checksums on packets on a realtek gigabit network
card. Turning offloading off (ifconfig -txcsum) seems to make the
problem disappear.

Attached are pcap files showing the bad checksums; the IP header is set
to 0x0000 and then TCP/UDP headers are wrong too. The machine in
question is on .99. These were taken on the host itself but i also see
them on the other machine.

pciconf:
re0 at pci0:1:8:0: class=0x020000 card=0xee221113 chip=0x816910ec rev=0x10
hdr=0x00
    vendor     = 'Realtek Semiconductor'
    device     = 'RTL8110SB Single-Chip Gigabit LOM Ethernet Controller'
    class      = network
    subclass   = ethernet

Version:
$FreeBSD: src/sys/dev/re/if_re.c,v 1.95 2007/08/14 02:00:04 yongari E\
xp $

Jelte
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHFJDe4nZCKsdOncURAqnXAJwIjU1TMappjheCHvDvHb19EukofwCfe5Sm
UUDUdMuDpum2O1ZpZC6MYVU=
=3hDj
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: without_offload.pcap
Type: application/octet-stream
Size: 599 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20071016/8b5867af/without_offload.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: with_offload.pcap
Type: application/octet-stream
Size: 599 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20071016/8b5867af/with_offload.obj


More information about the freebsd-current mailing list