]> git.baikalelectronics.ru Git - kernel.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)
commit1e98b1d4f7624621cb9128739b7b792964df842d
tree73c7212c209c71834856ecfcc8670c3185cdba20
parent29c091d304f36d71e4abd0346696f9878adbb1f9
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: fa9054dc75e5 "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