From owner-freebsd-net@FreeBSD.ORG Tue Oct 16 12:47:36 2012 Return-Path: Delivered-To: net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 737D7EB3; Tue, 16 Oct 2012 12:47:36 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.64.117]) by mx1.freebsd.org (Postfix) with ESMTP id DE4F28FC0C; Tue, 16 Oct 2012 12:47:35 +0000 (UTC) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.5/8.14.5) with ESMTP id q9GClYep033268; Tue, 16 Oct 2012 16:47:34 +0400 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.5/8.14.5/Submit) id q9GClXZh033267; Tue, 16 Oct 2012 16:47:33 +0400 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Tue, 16 Oct 2012 16:47:33 +0400 From: Gleb Smirnoff To: Ryan Stone Subject: Re: ixgbe & if_igb RX ring locking Message-ID: <20121016124733.GC89655@glebius.int.ru> References: <5079A9A1.4070403@FreeBSD.org> <20121015162926.GV89655@FreeBSD.org> <507D4F11.2030704@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: "Alexander V. Chernikov" , Jack Vogel , net@FreeBSD.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Oct 2012 12:47:36 -0000 On Tue, Oct 16, 2012 at 08:40:47AM -0400, Ryan Stone wrote: R> > Are you using stock ixgbe driver? R> R> Pay no attention to the line numbers behind the curtain. :) R> R> I don't believe that I've changed the locking order at all in the R> driver, but you are right, that wasn't taken from the stock driver. Can you please provide hints how can SIOCADDMULTI lead to obtaining RX lock in the stock driver? Sorry if I miss obvious. -- Totus tuus, Glebius.