From owner-freebsd-current@FreeBSD.ORG Wed Sep 13 15:09:26 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 723A516A40F; Wed, 13 Sep 2006 15:09:26 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id C7EC843D6E; Wed, 13 Sep 2006 15:09:25 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.6/8.13.6) with ESMTP id k8DF993i035269; Wed, 13 Sep 2006 11:09:09 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-current@freebsd.org Date: Wed, 13 Sep 2006 11:08:44 -0400 User-Agent: KMail/1.9.1 References: <7.0.1.0.0.20060912125903.15bdb7a0@sentex.net> <45073F58.6080900@freebsd.org> In-Reply-To: <45073F58.6080900@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200609131108.45382.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Wed, 13 Sep 2006 11:09:20 -0400 (EDT) X-Virus-Scanned: ClamAV 0.88.3/1875/Wed Sep 13 05:19:58 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: current@freebsd.org, Ian FREISLICH , Andre Oppermann , Jack Vogel , Mike Tancsa Subject: Re: TSO, SMP and the em driver. 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: Wed, 13 Sep 2006 15:09:26 -0000 On Tuesday 12 September 2006 19:14, Andre Oppermann wrote: > Mike Tancsa wrote: > > At 12:43 PM 9/12/2006, Andre Oppermann wrote: > > > >> TSO != (vlan && promisc) > > > > Sorry, the commonality I was referring to was VLAN hardware tagging and > > how it must be enabled for TSO, but that breaks other things. See a few > > messages ago > > http://lists.freebsd.org/pipermail/freebsd-current/2006-September/065818.html > > I'm sure we can find a workaround for that. Well, you could have the em(4) driver manually handle TSO in software, which is what it does to workaround the VLAN tag problem. (It does VLAN encapsulation in the driver.) While VLAN insertion may be trivial, re-implementing TCP segmentation in the driver might be a good bit less trivial to do. There's not going to be a simple easy workaround for this hardware bug. :( -- John Baldwin