From owner-freebsd-net@FreeBSD.ORG Thu Nov 27 19:43:33 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 040EB1065678 for ; Thu, 27 Nov 2008 19:43:33 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.177]) by mx1.freebsd.org (Postfix) with ESMTP id CC72D8FC13 for ; Thu, 27 Nov 2008 19:43:32 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: by wa-out-1112.google.com with SMTP id m34so520424wag.27 for ; Thu, 27 Nov 2008 11:43:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=wrsOd/+aYsVCKZMlSXn1TJiWJXvGhSQP00jthu3/tFo=; b=jPr3096JpAgIswuc3g8ldmlAU2fOc73bWdMrThmQoem4WSp/hSL2qOvk4LxuLJctYg yac8j/dVvx8jpCPmMtFp2KNP+Hs+4HRPo2Yh5dNG78/l5iVzFdhvFzpcI2tAXcfB/oIr 6jxfckWUoswBb6X/UD02m+dB8kSpAv5xRMm8A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=XT0bshxbrGiR1soS2huvKwSrPjIgtiuYoGW4o/c8UOCzRcqMdobribYTsKyFtX7kt9 nJ6QOD3Cbu4SJ/fedR5XB2R9li7iqafhgpmykJZKJo0sJT0BKgb4IifXZfZmL5jqXI99 HEzL3N0TApi61Nunhkaa5hKiQdgzbVs3HK168= Received: by 10.114.197.1 with SMTP id u1mr4143269waf.120.1227815012101; Thu, 27 Nov 2008 11:43:32 -0800 (PST) Received: by 10.114.235.17 with HTTP; Thu, 27 Nov 2008 11:43:32 -0800 (PST) Message-ID: <2a41acea0811271143q25f83e89i4df2791052a980ac@mail.gmail.com> Date: Thu, 27 Nov 2008 11:43:32 -0800 From: "Jack Vogel" To: "Robert Watson" In-Reply-To: MIME-Version: 1.0 References: <20def4870811270441n6b201076k715e1c7e1adc8781@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: jfv@freebsd.org, freebsd-hackers@freebsd.org, Yony Yossef , 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 19:43:33 -0000 On Thu, Nov 27, 2008 at 4:51 AM, Robert Watson wrote: > > 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. > Been so busy internally that I did not even realize that this capability had been created, I need to change both igb and ixgbe to use it. Thanks for pointing this out, Jack