From owner-freebsd-net@FreeBSD.ORG Mon Jul 16 19:57:01 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 117D4106564A for ; Mon, 16 Jul 2012 19:57:01 +0000 (UTC) (envelope-from oppermann@networx.ch) Received: from c00l3r.networx.ch (c00l3r.networx.ch [62.48.2.2]) by mx1.freebsd.org (Postfix) with ESMTP id 6FC888FC12 for ; Mon, 16 Jul 2012 19:57:00 +0000 (UTC) Received: (qmail 25004 invoked from network); 16 Jul 2012 21:52:57 -0000 Received: from c00l3r.networx.ch (HELO [127.0.0.1]) ([62.48.2.2]) (envelope-sender ) by c00l3r.networx.ch (qmail-ldap-1.03) with SMTP for ; 16 Jul 2012 21:52:57 -0000 Message-ID: <50047207.8060004@networx.ch> Date: Mon, 16 Jul 2012 21:56:55 +0200 From: Andre Oppermann User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: Ihsan Junaidi Ibrahim References: <3AC8C112-A80B-4D8F-89DA-DA38E4AB524F@grep.my> <0FF9D20C-4D88-484F-AEB9-E6F10094E018@grep.my> In-Reply-To: <0FF9D20C-4D88-484F-AEB9-E6F10094E018@grep.my> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org, Jack Vogel Subject: Re: Enable LRO by default on igb 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: Mon, 16 Jul 2012 19:57:01 -0000 On 13.07.2012 02:21, Ihsan Junaidi Ibrahim wrote: > I did a quick file download test on the LRO-enabled device (forwarding is turned on) and there's > no perceive drop-off in forwarding performance. LRO must not be active on any interface when forwarding is enabled. This has been fixed by bz@ in current and stable/9 within the LRO code and is automatic. The only remaining unhandled case is hardware-LRO where the driver must tell the hardware to stop doing it. Eventually we need an eventhandler for that and hardware-LRO cards have to register with it to get informed on changes there. -- Andre > The test is very unscientific (over the Internet) as I don't have access to a local test bed > where I can do more in-depth testing. > > Sysctl LRO stats gave me these: dev.igb.0.queue0.lro_queued: 53 dev.igb.0.queue0.lro_flushed: 53 > dev.igb.0.queue1.lro_queued: 121 dev.igb.0.queue1.lro_flushed: 120 dev.igb.0.queue2.lro_queued: > 14895 dev.igb.0.queue2.lro_flushed: 8200 dev.igb.0.queue3.lro_queued: 77 > dev.igb.0.queue3.lro_flushed: 76 > > Just curious on why flushed and queued numbers did not seem to match. > > ihsan > > On Jul 8, 2012, at 12:26 AM, Jack Vogel wrote: > >> Because of problems with forwarding when it was turned on, however this has recently been fixed >> supposedly, if someone using the driver in an environment with forwarding could verify that >> there is no problem with it enabled I'd be happy to change it to be on by default. >> >> Jack >> >> >> On Sat, Jul 7, 2012 at 9:01 AM, Ihsan Junaidi Ibrahim wrote: >> >>> Hi folks, >>> >>> Just curious is there a reason why LRO isn't turned on by default for igb(4) like for other >>> capabilities? >>> >>> I have a couple of 82575EB igb devices and LRO had to be turned on manually. >>> >>> Thanks._______________________________________________ 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" >>> >> _______________________________________________ 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" > > _______________________________________________ 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" > >