From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <1510783048.2397.68.camel@kernel.crashing.org> Subject: Re: [PATCH] ibmveth: Kernel crash LSO offload flag toggle From: Benjamin Herrenschmidt To: "Bryant G. Ly" , Daniel Axtens , paulus@samba.org, mpe@ellerman.id.au, tlfalcon@linux.vnet.ibm.com Cc: linuxppc-dev@lists.ozlabs.org, netdev@vger.kernel.org, Sivakumar Krishnasamy , stable@vger.kernel.org Date: Thu, 16 Nov 2017 08:57:28 +1100 In-Reply-To: <94eb928a-5d8d-6bf8-9efd-5a9cd602050f@linux.vnet.ibm.com> References: <20171114153420.3911-1-bryantly@linux.vnet.ibm.com> <87inec2r83.fsf@linkitivity.dja.id.au> <94eb928a-5d8d-6bf8-9efd-5a9cd602050f@linux.vnet.ibm.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: netdev-owner@vger.kernel.org List-ID: On Wed, 2017-11-15 at 10:45 -0600, Bryant G. Ly wrote: > This patch just closes the window, bad things can still happen. I wanted to leave it > up to the people who actively develop in ibmveth to close the window, since introducing > a lock can be expensive in tx. You don't need to instroduce a lock. The network stack already have a per-queue lock, you just use the existing one. Look at what I did in sungem or ftgmac100 with the reset task, those are fairly simple drivers and should illustrate the technique. Cheers, Ben.