Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jan 2007 21:19:04 +0900
From:      Pyun YongHyeon <pyunyh@gmail.com>
To:        Pietro Cerutti <pietro.cerutti@gmail.com>
Cc:        freebsd-hackers@freebsd.org, FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: [SOLVED] re(4) incorrect checksum
Message-ID:  <20070111121904.GD33964@cdnetworks.co.kr>
In-Reply-To: <e572718c0701110251l23ffa961w1851f19347daf845@mail.gmail.com>
References:  <e572718c0701110229q60a66d32o68f789c889b4a06@mail.gmail.com> <e572718c0701110251l23ffa961w1851f19347daf845@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 11, 2007 at 11:51:51AM +0100, Pietro Cerutti wrote:
 > Hi lists,
 > ifconfig re0 -txcsum -rxcsum solved the problem....
 > 

In if_re.c, rev 1.46.2.18 wpaul@ fixed a long standing checksum
offload issue by padding. Does re(4) work when you disable only Tx
checksum offload?(i.e. ifconfig re0 -txcsum)

 > Anyway, is this a bug in the driver or in the interface itself?
 > 
 > Thanx, regards
 > 
 > ---------- Forwarded message ----------
 > From: Pietro Cerutti <pietro.cerutti@gmail.com>
 > Date: Jan 11, 2007 11:29 AM
 > Subject: re(4) incorrect checksum
 > To: freebsd-questions@freebsd.org, freebsd-hackers@freebsd.org
 > 
 > 
 > Hi lists,
 > 
 > FreeBSD gahrtop.localhost 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #1:
 > Tue Jan  9 19:34:13 CET 2007
 > root@gahrtop:/usr/obj/usr/src/sys/GAHRTOP  i386
 > 
 > CPU: Intel(R) Core(TM)2 CPU         T7200  @ 2.00GHz (2000.15-MHz 686-class 
 > CPU)
 >  Cores per package: 2
 > 
 > re0: <RealTek 8168B/8111B PCIe Gigabit Ethernet> port 0xc800-0xc8ff
 > mem 0xff2ff000-0xff2fffff irq 17 at device 0.0 on pci2
 > 
 > ($FreeBSD: src/sys/dev/re/if_re.c,v 1.46.2.20 2006/09/21 11:08:28 yongari 
 > Exp $)
 > 
 > I get checksum errors on every packet I send, example:
 > 
 > Checksum: 0x0bc5 [incorrect, should be 0x78fe (maybe caused by
 > checksum offloading?)]
 > 
 > I think this could be the cause of some web pages (e.g. Gmail in
 > standard view [html view works well]) not to be displayed.
 > 
 > I tracked down the problem to the re(4) driver just because wlan works 
 > good...
 > 
 > Any ideas?
 > 
 > 
 > Thanx,
 > 
 > --
 > Pietro Cerutti
 > ICQ: 117293691
 > PGP: 0x9571F78E
 > 
 > - ASCII Ribbon Campaign -
 > against HTML e-mail and
 > proprietary attachments
 >   www.asciiribbon.org
 > 
 > 
 > -- 
 > Pietro Cerutti
 > ICQ: 117293691
 > PGP: 0x9571F78E
 > 
 > - ASCII Ribbon Campaign -
 > against HTML e-mail and
 > proprietary attachments
 >   www.asciiribbon.org
 > _______________________________________________
 > freebsd-hackers@freebsd.org mailing list
 > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
 > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"

-- 
Regards,
Pyun YongHyeon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070111121904.GD33964>