From owner-freebsd-stable@FreeBSD.ORG Sun Mar 2 22:44:07 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2040B1065677 for ; Sun, 2 Mar 2008 22:44:07 +0000 (UTC) (envelope-from "tzim@tzim.net"@alaranth.tzim.net) Received: from alaranth.tzim.net (unknown [IPv6:2001:41d0:1:968f:219:d1ff:fedf:4f29]) by mx1.freebsd.org (Postfix) with ESMTP id 926588FC20 for ; Sun, 2 Mar 2008 22:44:06 +0000 (UTC) (envelope-from "tzim@tzim.net"@alaranth.tzim.net) Received: from carenath.tzim.net ([82.233.229.224] helo=[172.16.0.254]) by alaranth.tzim.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from <"tzim@tzim.net"@alaranth.tzim.net>) id 1JVwuM-000HCI-4N for freebsd-stable@freebsd.org; Sun, 02 Mar 2008 23:43:50 +0100 Message-ID: <47CB2DB3.5010707@tzim.net> Date: Sun, 02 Mar 2008 23:44:03 +0100 From: Arnaud Houdelette User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: "tzim@tzim.net"@alaranth.tzim.net X-Authenticated-User: tzim@tzim.net X-Authenticator: plain Subject: IP header checksum missing with Realtek 8168, jumbo frames and offloading. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Mar 2008 22:44:07 -0000 I encountered connectivity issues with an integrated Realtek 8168 on my MSI motherboard after enabling jumbo frames on my other box. Investigating the issue, I found that the packets with an ethernet frame of length > 2048 get an IP header of 0x0000. ping -s 3000 192.168.0.11 ==> fail (ethereal on the other box show the 0x0000 checksum on IP header) ping -s 2008 192.168.0.11 ==> fail ping -s 2006 192.168.0.11 ==> succeed re0: port 0xd800-0xd8ff mem 0xfeaff000-0xfeafffff irq 19 at device 0.0 on pci2 re0: Using 2 MSI messages miibus0: on re0 rgephy0: PHY 1 on miibus0 rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto The interface re0 is configured with : ifconfig inet 192.168.0.1/24 media auto mtu 7422 polling ifconfig re0 -txcsum solves the issue. I tried to reproduce the issue with a Realtek 8169 (using re(4) too). I couln't : checksum offloading works ok on this card. Is this a known issue (or maybe a bug in the 8168) ? I can provide some network capture if needed. In the meantime I swapped the two cards as I don't need jumbo on one of them. Thanks Arnaud