[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1510783048.2397.68.camel@kernel.crashing.org>
Date: Thu, 16 Nov 2017 08:57:28 +1100
From: Benjamin Herrenschmidt <benh@...nel.crashing.org>
To: "Bryant G. Ly" <bryantly@...ux.vnet.ibm.com>,
Daniel Axtens <dja@...ens.net>, paulus@...ba.org,
mpe@...erman.id.au, tlfalcon@...ux.vnet.ibm.com
Cc: linuxppc-dev@...ts.ozlabs.org, netdev@...r.kernel.org,
Sivakumar Krishnasamy <ksiva@...ux.vnet.ibm.com>,
stable@...r.kernel.org
Subject: Re: [PATCH] ibmveth: Kernel crash LSO offload flag toggle
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.
Powered by blists - more mailing lists