]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 May 2016 19:44:11 +0000 (12:44 -0700)
commitc0795bf64cba4d1b796fdc5b74b33772841ed1bb
tree73c7212c209c71834856ecfcc8670c3185cdba20
parent217f97e85608c5878ccc7850d6f4ea332622f537
sfc: on MC reset, clear PIO buffer linkage in TXQs

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>
drivers/net/ethernet/sfc/ef10.c