From owner-freebsd-net@FreeBSD.ORG Mon Dec 19 02:19:02 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 2954E106566C for ; Mon, 19 Dec 2011 02:19:02 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id E582C8FC13 for ; Mon, 19 Dec 2011 02:19:01 +0000 (UTC) Received: by iadj38 with SMTP id j38so5490300iad.13 for ; Sun, 18 Dec 2011 18:19:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; 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; bh=xz9zfiJBPAWuc4PgCCQ9AB1RdvBoG4VwK1+WrLzd3LE=; b=uFIX4LvThyk82e7G9ELilv5cB40Zyc7iId/PJl0haEe1nLWecWad5403S7H+1ZknE3 zIOif0IVPboTEq0aIN8u6jJ2SB3raD6md/F3afMl+cV4ysol0avXXZocqsr0K+XA00Ac cBcsaKFIaZmK46Op58tYqTrohYMQRkKp7XDi0= Received: by 10.50.184.137 with SMTP id eu9mr24981716igc.9.1324261141458; Sun, 18 Dec 2011 18:19:01 -0800 (PST) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id 36sm62742279ibc.6.2011.12.18.18.18.58 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 18 Dec 2011 18:18:59 -0800 (PST) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Sun, 18 Dec 2011 18:17:06 -0800 From: YongHyeon PYUN Date: Sun, 18 Dec 2011 18:17:06 -0800 To: Andrea Venturoli Message-ID: <20111219021706.GA1704@michelle.cdnetworks.com> References: <4EE8FA10.8090502@netfence.it> <4EEE3A9C.4040200@netfence.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4EEE3A9C.4040200@netfence.it> User-Agent: Mutt/1.4.2.3i Cc: freebsd-net@freebsd.org Subject: Re: Intel 82550 Pro/100 Ethernet and TSO troubles 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: Mon, 19 Dec 2011 02:19:02 -0000 On Sun, Dec 18, 2011 at 08:10:20PM +0100, Andrea Venturoli wrote: > On 12/16/11, Eugene Grosbein wrote: > > (Sorry Eugene, I didn't get your message until I searched the web). > > > Do you use NAT? man ipfw clearly states: > > > > ipfw nat is not compatible with > > the TCP segmentation offloading (TSO). Thus, to reliably nat > your net- > > work traffic, please disable TSO on your NICs using ifconfig(8) > > Yes, I'm using ipfw and NAT, so this is the problem. > Thanks for solving me this. > > I'm just wondering if it was a good idea to enable TSO by default > without at least a warning in the release notes or in UPDATING. > This has caused me some headaches, which is ok, I'm just sorry I've also > wasted some of YongHyeon's time; what's worse, I believe I won't be the That's fine. This made me re-read fxp(4) TSO path and I was able to identify possible flaw in the implementation. Will commit the fix. > only one hit by this. > > bye & Thanks > av.