From owner-freebsd-net@FreeBSD.ORG Wed May 12 20:28:19 2010 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 6B7D4106566B for ; Wed, 12 May 2010 20:28:19 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id F2D9C8FC0A for ; Wed, 12 May 2010 20:28:18 +0000 (UTC) Received: by wyg36 with SMTP id 36so244500wyg.13 for ; Wed, 12 May 2010 13:28:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=fY+xPfHHoqfTipllzTf54grJZBYgY/VeV7EzNA2fdKo=; b=Wk1UxaEPJHccZeZdPBraU1EwMxVtOpuF+4oj2Vx1bl51bLtdlclBdauoSq3b0w2G78 L8z38W4C9ZByIVGWmBP/OJIK0Y4gWkje4r3n1nctrnV5p2PrGwykD2M9pMmHVklk4H8K O3juIoMf6cBb9XDbplexLv+wb5I3bAVuWrFtY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=d7UGH4Ywp5LepE0fkdBMR2zjeNJVvC3bOBBUp7Ml0LLGRoL0CwM66QnXCDhHWk5t0+ YBZT4CJKR/L+ezLonq+27L/7TsU8FbBloOiyoj4LyWyx3NvYigw3JeerqN81hU8aUiqD F0k6Pk9mOWhLRSErohWqvMMwUCTThxFoZdr8U= MIME-Version: 1.0 Received: by 10.216.90.199 with SMTP id e49mr5027423wef.38.1273696096025; Wed, 12 May 2010 13:28:16 -0700 (PDT) Received: by 10.216.29.129 with HTTP; Wed, 12 May 2010 13:28:14 -0700 (PDT) In-Reply-To: References: Date: Wed, 12 May 2010 13:28:14 -0700 Message-ID: From: Jack Vogel To: Andrew Boyer Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-net@freebsd.org Subject: Re: ixgbe 2.1.7 can't disable LRO on 82599? 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: Wed, 12 May 2010 20:28:19 -0000 Oh, this is because the 82598 is doing HW RSC which is a different code path from the LRO that the 598 does, and that may be the problem, I will need to look into that. Thanks for the report. And, yes, LRO is a major improvement in 10G performance, as is TSO. Are you sure you have no alternative to disabling? Cheers, Jack On Wed, May 12, 2010 at 12:03 PM, Andrew Boyer wrote: > Hello all, > I'm using the 2.1.7 version of ixgbe from -CURRENT, backported to FreeBSD > 7.1. With some fiddling it seems to work on both 82598 and 82599 > controllers. > > On 82598, 'ifconfig ix0 -lro' causes dev.ix.0.counters.rxr0.lro_queued and > ...lro_flushed to stop incrementing, as expected. There's also a > significant throughput hit which would seem to indicate that it took effect. > > However, it appears that LRO is always enabled on 82599. 'ifconfig ix0 > -lro' removes the LRO flag from the port in ifconfig but the ...hw_lro_merge > counter continues to increase. The throughput reported by the iperf port is > the same with or without LRO on. > > Any advice? Am I misinterpreting something? > > Thanks, > Andrew > > P.S. We need to disable LRO because we don't have Appropriate Byte > Counting support and LRO causes TCP ACK havoc without it. > > -------------------------------------------------- > Andrew Boyer aboyer@averesystems.com > > > > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >