From owner-freebsd-net@FreeBSD.ORG Wed May 12 20:29:16 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 312C41065679 for ; Wed, 12 May 2010 20:29:16 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from mail-ww0-f54.google.com (mail-ww0-f54.google.com [74.125.82.54]) by mx1.freebsd.org (Postfix) with ESMTP id B572C8FC13 for ; Wed, 12 May 2010 20:29:15 +0000 (UTC) Received: by wwd20 with SMTP id 20so429979wwd.13 for ; Wed, 12 May 2010 13:29:14 -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=heolT5ouogaaLK6FfZTk/tKBqcT7fof8tTxSveB/jxo=; b=KDTDK9sApgLrHKhrtVpyTvk5iLfEUa4xB/i7l34u4HicGTepGzcOQewNcgxN68GRvx e99O2+C9sCt2pMLkB7V85S6Oz+MFhDFcLkEzWx9Vg1l2HgqHuJGXiguvhCqxlIIE9y2h kYuQTY3wXWxLdn1Mo4tnKwCGduLAN7inb1VZw= 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=GUzZGmNjyP/JuEbD4IREJIkBCbEi1eF9fJ9jLgty5vXh9vfO+kt6/GV2Fno+VjSMyr 7e129maNgJoOpEAPbs+1ULjLyGrUAxBwnV5Yal+nW11rDJeFWN2+fCr56HhzIJrQKo9I NUwAxtXbqxhJwkJI/n1W/1m627L9SYS53bKIk= MIME-Version: 1.0 Received: by 10.216.174.76 with SMTP id w54mr4830819wel.213.1273696154485; Wed, 12 May 2010 13:29:14 -0700 (PDT) Received: by 10.216.29.129 with HTTP; Wed, 12 May 2010 13:29:13 -0700 (PDT) In-Reply-To: References: Date: Wed, 12 May 2010 13:29:13 -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:29:16 -0000 Correction, the 82599 is doing HW RSC, I'm sluggish after a good Indian lunch :) On Wed, May 12, 2010 at 1:28 PM, Jack Vogel wrote: > 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" >> > >