From owner-cvs-src@FreeBSD.ORG Tue Jun 12 19:42:16 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9D93716A46B; Tue, 12 Jun 2007 19:42:16 +0000 (UTC) (envelope-from darrenr@freebsd.org) Received: from out4.smtp.messagingengine.com (out4.smtp.messagingengine.com [66.111.4.28]) by mx1.freebsd.org (Postfix) with ESMTP id 59A4113C46C; Tue, 12 Jun 2007 19:42:16 +0000 (UTC) (envelope-from darrenr@freebsd.org) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 56951132C; Tue, 12 Jun 2007 15:25:10 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Tue, 12 Jun 2007 15:25:10 -0400 X-Sasl-enc: 1ivSdQ6kAg98gQSEPNpDEuf5GL8ae+rv7qVDmR1vqUmo 1181676309 Received: from [192.168.1.239] (64-142-85-108.dsl.dynamic.sonic.net [64.142.85.108]) by mail.messagingengine.com (Postfix) with ESMTP id E9B682AC06; Tue, 12 Jun 2007 15:25:08 -0400 (EDT) Message-ID: <466EF309.4080109@freebsd.org> Date: Tue, 12 Jun 2007 12:24:57 -0700 From: Darren Reed Organization: FreeBSD User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: Jack Vogel References: <200706112008.l5BK8CQ7033543@repoman.freebsd.org> <466DACD6.4040606@errno.com> <2a41acea0706111330v6a39cf84o495f6acf62ba7ff7@mail.gmail.com> <2a41acea0706111333p5349993dg9315bfe8396f78a@mail.gmail.com> <466DB362.8010902@freebsd.org> <2a41acea0706111346l227b1399jd80d85771345d8be@mail.gmail.com> <466DB70D.8080800@freebsd.org> <2a41acea0706111403l5f4e1db1re2c901670e327485@mail.gmail.com> In-Reply-To: <2a41acea0706111403l5f4e1db1re2c901670e327485@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Sam Leffler , src-committers@freebsd.org, Andre Oppermann , cvs-all@freebsd.org, cvs-src@freebsd.org Subject: Re: cvs commit: src/sys/net if.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: darrenr@freebsd.org List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jun 2007 19:42:16 -0000 Jack Vogel wrote: > On 6/11/07, Andre Oppermann wrote: >> Jack Vogel wrote: >> > On 6/11/07, Andre Oppermann wrote: >> >> Jack Vogel wrote: >> >> > On 6/11/07, Jack Vogel wrote: >> >> >> On 6/11/07, Sam Leffler wrote: >> >> >> > Andre Oppermann wrote: >> >> >> > > andre 2007-06-11 20:08:12 UTC >> >> >> > > >> >> >> > > FreeBSD src repository >> >> >> > > >> >> >> > > Modified files: >> >> >> > > sys/net if.h >> >> >> > > Log: >> >> >> > > Add IFCAP_LRO flag for drivers to announce their TCP Large >> >> >> Receive Offload >> >> >> > > capabilities. >> >> >> > > >> >> >> > > Revision Changes Path >> >> >> > > 1.108 +1 -0 src/sys/net/if.h >> >> >> > > >> http://cvsweb.FreeBSD.org/src/sys/net/if.h.diff?r1=1.107&r2=1.108 >> >> >> > > >> >> >> > > >> >> >> > There are many offload capabilities defined that are not well >> >> thought >> >> >> > out. In particular we do not distinguish between ipv4 and >> ipv6 for >> >> >> > things like cksum and tso so there's no way to disable individual >> >> >> > features. The ability to tweak LRO is clearly needed and clearly >> >> >> belong >> >> >> > as an ifnet capability but unilateraly deciding this is the wrong >> >> >> approach. >> >> >> > >> >> >> > Sam >> >> >> >> >> >> We do distinguish between TSO4 and TSO6, its just that all the >> pieces >> >> >> for 6 arent actually there yet, you are right about the cksum >> >> >> granularity, >> >> >> but I'm not convinced its needed. You might be right on the need to >> >> >> fine tune the functionality, but having a big ON/OFF doesnt seem a >> >> >> bad thing to me. >> >> > >> >> > Oh, one other useful tidbit, for Oplin when RSS is enabled you >> can't do >> >> > CKSUM anyway, they reuse bits. >> >> >> >> What is Oplin? >> > >> > Our new 10G adapter, er, its code name, its really 82598. >> >> OK, then what is this 'RSS' feature? > > I think its a windowism, stands for Receive Side Scaling, and what it means > is multiple receive queues, each with an MSI/X vector so they can interrupt > different CPUs, or they can be tied to virtual guests, or MACs, etc etc... To the best of my knowledge, it is a Solarisism and the 10G cards from Sun (now licensed to Marvel?) are already delivering this. What would be interesting is if you could tie specific rx/tx rings, interrupts, CPUs, etc, to jails... Darren