[PATCH] ibmveth: Kernel crash LSO offload flag toggle
Benjamin Herrenschmidt
benh at kernel.crashing.org
Thu Nov 16 08:57:28 AEDT 2017
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.
More information about the Linuxppc-dev
mailing list