From owner-freebsd-net@FreeBSD.ORG Tue Oct 16 13:20:05 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 D591ADD5; Tue, 16 Oct 2012 13:20:05 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 531228FC0C; Tue, 16 Oct 2012 13:20:05 +0000 (UTC) Received: by mail-vb0-f54.google.com with SMTP id v11so8234287vbm.13 for ; Tue, 16 Oct 2012 06:20:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=1bT0WmRPa07jbTKhIxzJLWQzJTt2QP7ibYzX+c+Afc8=; b=FclWLbXi1zlsY+fNTQ8D8SNHM7dlHiQk1TxSVacObLCpzo1YPBJ03dLpuLxbgC8TQB qk/1IYFWnHU+CN2NkoCmYghG/GRXrm9oLVxwzX7MGsG2CdLB5pz+bT/XW13liMYyIvT5 /P7qCwICj46d6o369cmR14Vu894XFDmHdspmGWAHwn5T48ZeDcLCoh4YPI6uPDQFr/mI a4rgS2KLck44C8dYlEOx/yizJnGKuX0kK33kK5Srzk3Z5rx87h041vCZo66oLLZUhAnH lnVC8wxoOsKAmlIIMLU4X8/CXaRYkkH+jns4sNpYGTDzUn/CbSx7IQekxM5eXugvjzJR Vl2w== MIME-Version: 1.0 Received: by 10.52.68.7 with SMTP id r7mr7101958vdt.96.1350393604422; Tue, 16 Oct 2012 06:20:04 -0700 (PDT) Received: by 10.58.207.114 with HTTP; Tue, 16 Oct 2012 06:20:04 -0700 (PDT) In-Reply-To: <20121016124733.GC89655@glebius.int.ru> References: <5079A9A1.4070403@FreeBSD.org> <20121015162926.GV89655@FreeBSD.org> <507D4F11.2030704@FreeBSD.org> <20121016124733.GC89655@glebius.int.ru> Date: Tue, 16 Oct 2012 09:20:04 -0400 Message-ID: Subject: Re: ixgbe & if_igb RX ring locking From: Ryan Stone To: Gleb Smirnoff Content-Type: text/plain; charset=ISO-8859-1 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 13:20:05 -0000 On Tue, Oct 16, 2012 at 8:47 AM, Gleb Smirnoff wrote: > Can you please provide hints how can SIOCADDMULTI lead to obtaining RX > lock in the stock driver? It doesn't. But it does acquire the core lock, and the core lock is acquired before the RX lock (in ixgbe_init, for instance).