From owner-freebsd-current@FreeBSD.ORG Thu Apr 10 16:27:20 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7D708106564A for ; Thu, 10 Apr 2008 16:27:20 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.243]) by mx1.freebsd.org (Postfix) with ESMTP id 34D3C8FC12 for ; Thu, 10 Apr 2008 16:27:20 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: by an-out-0708.google.com with SMTP id c14so15629anc.13 for ; Thu, 10 Apr 2008 09:27:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=0QOYFdLvAY4GAWRVBQ3a3Q/Xc9jIKcITV4LrdMGM0Io=; b=D8BLNcOcjaspUHTfduM7t+aen3dCNdH1/wVTU9+BcnOZh+qT6QqqzPICKZnaa2BHFmaohC8L5S6YcGJpCur7cm0UxrMYUuQAjo1+HACl3DmZZGnEOGCJJ7UtFNPUgg6b+wlnnp63SDXHBHPzcQrvlDw7eg4aHbrfx/vtZoE68tQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Gn6lKGzyP5I1AbXH3gIze1Yh9fQgdIfS9aNaNdrLEP55pCT7RY1RsjvK3PjZEXkie3fYUfa+AhRWkyOEaxPooqUeHBhiJ95CbQVcxq8fUuw7u6BbsCn8zLmsULnLbLlJMXOUEp0KQ0a5rHHJqPWMwk+Purgs2vFIBFxtnNehSNs= Received: by 10.100.42.4 with SMTP id p4mr3080254anp.118.1207844839513; Thu, 10 Apr 2008 09:27:19 -0700 (PDT) Received: by 10.100.121.17 with HTTP; Thu, 10 Apr 2008 09:27:19 -0700 (PDT) Message-ID: <2a41acea0804100927p327d0777waaf5c6cea8afdbfe@mail.gmail.com> Date: Thu, 10 Apr 2008 09:27:19 -0700 From: "Jack Vogel" To: "Vitezslav Novy" In-Reply-To: <47FDB51A.1030606@vnovy.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200802042142.38606.qpadla@gmail.com> <200802070018.54429.qpadla@gmail.com> <006801c87f19$a14d8060$b6db87d4@multiplay.co.uk> <200804092043.24500.qpadla@gmail.com> <2a41acea0804091659l7ac2d9adqcbdd0caf900469b@mail.gmail.com> <47FDB51A.1030606@vnovy.net> Cc: freebsd-current@freebsd.org, Steven Hartland Subject: Re: IP bad-len 0 ( on em0 ) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Apr 2008 16:27:20 -0000 On Wed, Apr 9, 2008 at 11:35 PM, Vitezslav Novy wrote: > Jack Vogel wrote: > > > On Wed, Apr 9, 2008 at 10:43 AM, Nikolay Pavlov wrote: > > > > > On Thursday 06 March 2008 01:35:43 Steven Hartland wrote: > > > > Did you ever get anywhere with this? Did Jack respond? > > > > > > Nope. I've disabled tso. > > > > > > > > > I've looked into this a little, and then got interrupted with other > issues. The > > reason the thing is zero'ed is because the hardware is going to > repacketize > > this big wad that its been handled, it should be making new headers that > > appear in the packets on the wire. So its not yet clear to me what the > > real brokenness is, you are actually SUPPOSED to zero that value and > > csum according to documentation, but the rewritten headers should have > > correct len's in them, so the question is why in some cases they do not. > > > > I think packets on wire have correct IP-len, but after sending packet to > card, driver injects original long packet with zeroed IP-len to BPF. > So in tcpdump, we see packet with zero IP-len. > > > vita > > > ahhh, yes, that makes sense, hmmm, suggestions on what to do about it? Jack