From owner-freebsd-net@FreeBSD.ORG Thu Jan 20 00:00:20 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 01159106566C for ; Thu, 20 Jan 2011 00:00:18 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id BBB9C8FC1B for ; Thu, 20 Jan 2011 00:00:17 +0000 (UTC) Received: by iwn39 with SMTP id 39so10150iwn.13 for ; Wed, 19 Jan 2011 16:00:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:date:to:cc:subject:message-id:reply-to :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=d9aILDm6XXcI29lnZlzMYWajw/lTAfuI3FhsrStur0Q=; b=mQr60x6Pt4Wqb9D5hlUJR9/sccBttJOB00lLr+ECganT5qoV2PhH0kvQfJNObJfROt S+QEWMUeq98l+0EQodLaltJ/uspbhrPUFKvruBGRHpEPNnVE7bi85/l/M23vsY3Jng8d uLHMwFQxbbfSuMwYBau8IELVmP44LXFWTI1VA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=s505IPxK0mH8b2Le9wNW+bXwXLYe3HnJh+uKX0bocTE0DWUQO/fiIkk+ADJEriAZu0 p8TTbkPa8E/pl3mPF21UVarvzw6UE9DQpw+3XTt/zD8WFyNMOF5fZ6f4PZudb/deIIhS XH7ESIqao6Q8SLSp/GZUBonyv8SxgO3ItK08s= Received: by 10.42.224.3 with SMTP id im3mr1726275icb.341.1295481617194; Wed, 19 Jan 2011 16:00:17 -0800 (PST) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id he5sm5684206icb.10.2011.01.19.16.00.14 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 19 Jan 2011 16:00:15 -0800 (PST) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Wed, 19 Jan 2011 15:59:24 -0800 From: Pyun YongHyeon Date: Wed, 19 Jan 2011 15:59:24 -0800 To: sthaug@nethelp.no Message-ID: <20110119235924.GD12030@michelle.cdnetworks.com> References: <20110117005524.GA1305@michelle.cdnetworks.com> <20110118.093804.74673434.sthaug@nethelp.no> <20110118182351.GE5624@michelle.cdnetworks.com> <20110118.193530.74688427.sthaug@nethelp.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110118.193530.74688427.sthaug@nethelp.no> User-Agent: Mutt/1.4.2.3i Cc: freebsd-net@freebsd.org, rmacklem@uoguelph.ca, ronald-freebsd8@klop.yi.org Subject: Re: bogus 0 len IP packet, was: Hang in VOP_LOCK1_APV on 8-STABLE with NFS. X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jan 2011 00:00:20 -0000 On Tue, Jan 18, 2011 at 07:35:30PM +0100, sthaug@nethelp.no wrote: > > > I'm seeing the same problem with Broadcom NetXtreme (bce) cards: > > > > > > bce0@pci0:3:0:0: class=0x020000 card=0x03421014 chip=0x164c14e4 rev=0x12 hdr=0x00 > > > vendor = 'Broadcom Corporation' > > > device = 'Broadcom NetXtreme II Gigabit Ethernet Adapter (BCM5708)' > > > class = network > > > subclass = ethernet > > > > > > This is with 8.2-PRERELEASE. Turning off TSO (ifconfig bce0 -tso) > > > removes the problem. > > > > > > > Is there a reliable way to trigger this on bce(4)? I don't have > > BCM5708 but I have BCM5709 so I can verify that. > > It showed up pretty much immediately when running a csup sessions > against cvsup2.us.freebsd.org. > > I have a pcap file from the session, if you're interested. > I vaguely guess upper stack might pass less than MSS sized segment to TSO capable driver with CSUM_TSO. How about merging r212803 to stable/8? > Steinar Haug, Nethelp consulting, sthaug@nethelp.no