From owner-freebsd-net@FreeBSD.ORG Thu May 31 00:43:16 2007 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D113F16A421 for ; Thu, 31 May 2007 00:43:16 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.230]) by mx1.freebsd.org (Postfix) with ESMTP id 91FF113C45D for ; Thu, 31 May 2007 00:43:16 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: by nz-out-0506.google.com with SMTP id 14so1005010nzn for ; Wed, 30 May 2007 17:43:16 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; 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; b=H3CsZcgvsu7meM3GTJrc1Cbi5FzrWq+o7PXZOsr67vy1we0wSACgJbRORJlyLuw1YwG6HZ6Q216SywwNQtwRmv4anqXwZj0yhfVc33XPinOvOMy0T/jTHLTMB30Ri2RQgjNQTIqRjLJ67xUyECUSa9xIS2hjooY6acW7xAEBqkI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Pma3c4tVQTXtejU4Sb72SaPXSlciunzOYElv/dL5yCxllQbJeVR/sz/RA+LVxnuON41TR56Y1HU10LSQOB4sRd911IVotpbzNSlnxKSXT45WMstON6OzmFqslIdhK7ahxQaqHbD9fBGEwRQX1zY6zPrHuMYlCsLOYz/plRPKaM4= Received: by 10.114.12.9 with SMTP id 9mr33674wal.1180572185147; Wed, 30 May 2007 17:43:05 -0700 (PDT) Received: by 10.114.126.10 with HTTP; Wed, 30 May 2007 17:43:05 -0700 (PDT) Message-ID: <2a41acea0705301743y7e11584bi4a06efed85d3ecf7@mail.gmail.com> Date: Wed, 30 May 2007 17:43:05 -0700 From: "Jack Vogel" To: "Julian Elischer" In-Reply-To: <465E140B.2080007@elischer.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <2a41acea0705301645x65e68e8q23c1b91d5f460ea3@mail.gmail.com> <20070530235456.GA67464@heff.fud.org.nz> <465E140B.2080007@elischer.org> Cc: freebsd-net , Andrew Thompson Subject: Re: driver packet coalesce X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 May 2007 00:43:16 -0000 On 5/30/07, Julian Elischer wrote: > Andrew Thompson wrote: > > On Wed, May 30, 2007 at 04:45:05PM -0700, Jack Vogel wrote: > >> Does any driver do this now? And if a driver were to coalesce > >> packets and send something up the stack that violates mss > >> will it barf? > > > > It would barf for things like bridging where the packet gets spit out a > > different interface. The bridge driver already has code to disable > > txcsum so it could be made to handle that too. > > > > > > Andrew ... > > This is part od TOE right? No, its something thats being talked about in our new PCI-E 10G driver. > I presume that it wouldn't coalesce packets that are not destined for the local > machine? would it coalesce in promiscuous mode? I guess it would only be > able to coalesce TCP packets that are adjacent in the same session. > Whether it also can coalesce adjacent packets that are destined for another > machine (for which it is not running the session) is not known... I would guess it > wouldn't do it. Right, at least that's the lines I was thinking about. At this point this is brainstorming, and I wanted to know if there were any hard stops that would keep it from being done. Jack