From owner-freebsd-current@FreeBSD.ORG Mon Mar 10 21:27:07 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 8A8C9106566C for ; Mon, 10 Mar 2008 21:27:07 +0000 (UTC) (envelope-from vnovy@vnovy.net) Received: from slimak.dkm.cz (smtp.dkm.cz [62.24.64.34]) by mx1.freebsd.org (Postfix) with SMTP id BCCD48FC14 for ; Mon, 10 Mar 2008 21:27:06 +0000 (UTC) (envelope-from vnovy@vnovy.net) Received: (qmail 92969 invoked by uid 0); 10 Mar 2008 21:27:04 -0000 Received: from r5be28.net.upc.cz (HELO vn.chello.upc.cz) (86.49.64.28) by smtp.dkm.cz with SMTP; 10 Mar 2008 21:27:04 -0000 Message-ID: <47D5A78F.1050403@vnovy.net> Date: Mon, 10 Mar 2008 22:26:39 +0100 From: Vitezslav Novy User-Agent: Thunderbird 2.0.0.6 (X11/20070924) MIME-Version: 1.0 To: Steven Hartland References: <200802042142.38606.qpadla@gmail.com><200802061852.10227.qpadla@gmail.com> <47A9EA74.6040407@vnovy.net> <200802070018.54429.qpadla@gmail.com> <006801c87f19$a14d8060$b6db87d4@multiplay.co.uk> In-Reply-To: <006801c87f19$a14d8060$b6db87d4@multiplay.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org, jfvogel@gmail.com 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: Mon, 10 Mar 2008 21:27:07 -0000 Steven Hartland wrote: > Did you ever get anywhere with this? Did Jack respond? > > ----- Original Message ----- From: "Nikolay Pavlov" > > On Wednesday 06 February 2008 19:12:20 Vitezslav Novy wrote: >> >> Do you have set TSO flag on interface? >> > >> > Good catch. The problem is gone with net.inet.tcp.tso set to 0. >> > But TSO is enabled by default in 7.0. Could this be a em driver bug? >> >> I don't know. I only saw this when researched another TSO related >> problem. >> >> vita > > May be Jack could say something about this? > It is TSO related problem of em driver. Affects only cards with adapter->hw.mac.type < e1000_82575. During transmit function em_tso_setup is called and this function sets packet ip_len field to zero. (also ip csum) After successful transmit, packet is injected to BPF with zeroed ip_len field. vita