From owner-freebsd-net@FreeBSD.ORG Wed Dec 14 19:33:44 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE50D106564A for ; Wed, 14 Dec 2011 19:33:44 +0000 (UTC) (envelope-from ml@netfence.it) Received: from cp-out7.libero.it (cp-out7.libero.it [212.52.84.107]) by mx1.freebsd.org (Postfix) with ESMTP id 5B5D58FC0C for ; Wed, 14 Dec 2011 19:33:44 +0000 (UTC) X-CTCH-Spam: Unknown X-CTCH-RefID: str=0001.0A0B020B.4EE8FA16.010D,ss=1,re=0.000,fgs=0 X-libjamoibt: 1555 Received: from soth.ventu (151.41.159.94) by cp-out7.libero.it (8.5.133) id 4E9539DD090CE3E7 for freebsd-net@freebsd.org; Wed, 14 Dec 2011 20:33:42 +0100 Received: from alamar.ventu (alamar.ventu [10.1.2.18]) by soth.ventu (8.14.4/8.14.4) with ESMTP id pBEJXa2P033015 for ; Wed, 14 Dec 2011 20:33:36 +0100 (CET) (envelope-from ml@netfence.it) Message-ID: <4EE8FA10.8090502@netfence.it> Date: Wed, 14 Dec 2011 20:33:36 +0100 From: Andrea Venturoli User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; it-IT; rv:1.9.2.24) Gecko/20111207 Thunderbird/3.1.16 MIME-Version: 1.0 To: freebsd-net@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.72 on 10.1.2.13 Subject: Intel 82550 Pro/100 Ethernet and TSO troubles X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Dec 2011 19:33:45 -0000 Hello. I recently installed 8.2 with the following card: > dmesg > ... > fxp0: port 0xdc00-0xdc3f mem 0xfebfb000-0xfebfbfff,0xfebc0000-0xfebdffff irq 20 at device 5.0 on pci4 > ... > pciconv -lv > ... > fxp0@pci0:4:5:0: class=0x020000 card=0x00408086 chip=0x12298086 rev=0x0c hdr=0x00 > vendor = 'Intel Corporation' > device = '82550/1/7/8/9 EtherExpress PRO/100(B) Ethernet Adapter' > class = network > subclass = ethernet > ... I had weird problems, especially due to ICMP/fragmentation/MTU/... issues. After hours spent in debugging, I noticed tcpdump showing ICMP packets with wrong checksums and that TSO4 was enabled. "ifconfig fxp0 -tso" seemed to solve everything. Don't know if it's a bug in the card, in the driver or what... Maybe it shouldn't be enabled by default? I also have fxp1: > dmesg > ... > fxp1: port 0xd880-0xd8bf mem 0xfebfa > 000-0xfebfafff,0xfea00000-0xfeafffff irq 21 at device 6.0 on pci4 > ... > pciconv -lv > ... > fxp1@pci0:4:6:0: class=0x020000 card=0x000c8086 chip=0x12298086 rev=0x08 hdr=0x00 > vendor = 'Intel Corporation' > device = '82550/1/7/8/9 EtherExpress PRO/100(B) Ethernet Adapter' > class = network > subclass = ethernet > ... TSO was not enabled on this by default. Feel free to ask, in case you need any further info. bye av.