OSDN Git Service

sfc: on MC reset, clear PIO buffer linkage in TXQs
authorEdward Cree <ecree@solarflare.com>
Tue, 24 May 2016 17:53:36 +0000 (18:53 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 Jun 2016 17:18:17 +0000 (10:18 -0700)
commit450db517b9223908ab5c1a9b5ddce3b6c4d75b18
tree1cd9d2558dfe8f0d7b53eb79ccf589f739e2971c
parentbfe951d547bf15bf1192abd20773e6603dacadf1
sfc: on MC reset, clear PIO buffer linkage in TXQs

[ Upstream commit c0795bf64cba4d1b796fdc5b74b33772841ed1bb ]

Otherwise, if we fail to allocate new PIO buffers, our TXQs will try to
use the old ones, which aren't there any more.

Fixes: 183233bec810 "sfc: Allocate and link PIO buffers; map them with write-combining"
Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/sfc/ef10.c