From owner-freebsd-net@FreeBSD.ORG Wed Aug 1 22:26:54 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8E5F7106564A; Wed, 1 Aug 2012 22:26:54 +0000 (UTC) (envelope-from luigi@onelab2.iet.unipi.it) Received: from onelab2.iet.unipi.it (onelab2.iet.unipi.it [131.114.59.238]) by mx1.freebsd.org (Postfix) with ESMTP id 4A4828FC08; Wed, 1 Aug 2012 22:26:54 +0000 (UTC) Received: by onelab2.iet.unipi.it (Postfix, from userid 275) id 4F2917300A; Thu, 2 Aug 2012 00:47:01 +0200 (CEST) Date: Thu, 2 Aug 2012 00:47:01 +0200 From: Luigi Rizzo To: John Message-ID: <20120801224701.GA31112@onelab2.iet.unipi.it> References: <20120801221240.GA24976@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120801221240.GA24976@FreeBSD.org> User-Agent: Mutt/1.4.2.3i Cc: FreeBSD Net Subject: Re: 0 frame length? 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, 01 Aug 2012 22:26:54 -0000 On Wed, Aug 01, 2012 at 10:12:40PM +0000, John wrote: > Hi Folks, > > On a Dell R610 system, I've been tracking down some nework issues > and ran across this in a tcpdump: > > 0000 84 2b 2b fd be 2e f0 4d a2 08 c4 13 08 00 45 00 .++....M ......E. > 0010 00 00 f0 2a 40 00 40 06 00 00 0a 18 09 ee 0a 18 ...*@.@. ........ > 0020 1e 08 58 57 14 02 5e 30 ea dc 61 84 62 b3 80 18 ..XW..^0 ..a.b... > 0030 08 00 42 10 00 00 01 01 08 0a 1e 67 b2 58 dc 56 ..B..... ...g.X.V > 0040 81 12 4e 45 54 50 41 43 4b 04 00 00 00 00 00 00 ..NETPAC K....... > .... additional packet data > > offset 0x10 should be the frame length - not 0. This only seems to happen > in packets being sent from this system/interface. > > Corresponding interface: > > bce0: flags=8943 metric 0 mtu 1500 > options=c01bb > ether f0:4d:a2:08:c4:13 > inet 10.24.9.238 netmask 0xffff0000 broadcast 10.24.255.255 > media: Ethernet autoselect (1000baseT ) > status: active > > > 8.2-RELEASE > > Wireshark reports: > > Bogus IP len (0, less than header length 20) > > > In googling, I've seen comments about lro/tso & the *csum options. > I have those set to off for the next time the systems get rebooted. you do not need to reboot to enable/disable the various offloading options, just "ifconfig bce0 -rxcsum -tso4 -txcsum" should do the job. cheers luigi