Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 May 2014 20:50:48 +0200
From:      Michael Tuexen <Michael.Tuexen@lurchi.franken.de>
To:        FreeBSD Net <freebsd-net@freebsd.org>
Subject:   TX Checksum offloading issue with re interfaces
Message-ID:  <95E18108-E6DD-49EA-90B3-A9F9E5F93D20@lurchi.franken.de>

next in thread | raw e-mail | index | archive | help
Dear all,

while testing checksum offloading of UDP packets over IP with IP =
options, I figured
out that my card

dev.re.1.%desc: RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit =
Ethernet
dev.re.1.%driver: re
dev.re.1.%location: slot=3D0 function=3D0 handle=3D\_SB_.PCI0.PE1F.LAN2
dev.re.1.%pnpinfo: vendor=3D0x10ec device=3D0x8168 subvendor=3D0x1734 =
subdevice=3D0x1159 class=3D0x020000
dev.re.1.%parent: pci13
dev.re.1.stats: -1
dev.re.1.int_rx_mod: 65

computes the UDP checksum, but stores it in the packet at the place, =
where it would be,
if there are no IP options. So it corrupts the options in the packet...

I looked at sys/dev/re/if_re.c, but couldn't figure out how to fix it. =
Any idea?

Best regards
Michael=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?95E18108-E6DD-49EA-90B3-A9F9E5F93D20>