From owner-freebsd-net@FreeBSD.ORG Thu Nov 27 12:51:28 2008 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 DEA77106564A; Thu, 27 Nov 2008 12:51:28 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id B89D08FC12; Thu, 27 Nov 2008 12:51:28 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [65.122.17.41]) by cyrus.watson.org (Postfix) with ESMTP id 47F8546B52; Thu, 27 Nov 2008 07:51:28 -0500 (EST) Date: Thu, 27 Nov 2008 12:51:28 +0000 (GMT) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Yony Yossef In-Reply-To: <20def4870811270441n6b201076k715e1c7e1adc8781@mail.gmail.com> Message-ID: References: <20def4870811270441n6b201076k715e1c7e1adc8781@mail.gmail.com> User-Agent: Alpine 1.10 (BSF 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: jfv@FreeBSD.org, freebsd-hackers@freebsd.org, freebsd-net@freebsd.org Subject: Re: IFCAP_LRO on FreeBSD 7 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, 27 Nov 2008 12:51:29 -0000 On Thu, 27 Nov 2008, Yony Yossef wrote: > Is there a native interface for LRO in FreeBSD 7? I can't find any use for > IFCAP_LRO but notifying the driver if to use or not to use this offload. > > If not, is it planned for FreeBSD 8? IFCAP_LRO is a capability/policy flag allowing drivers to declare support for LRO, and for administrators to enable/disable it if present. Drivers can either provide their own implementation (mxge, nxge) or use the system implementation (cxgb, igb). I'm slightly surprised to see that igb references tcp_lro_init() but not IFCAP_LRO -- perhaps lro isn't yet fully hooked up, or perhaps there's a bug? I believe all of the above applies to 7.1 but not 7.0, except possibly mxge supporting LRO in 7.0. Robert N M Watson Computer Laboratory University of Cambridge