]> 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)
commite582d88ed65061635195575a841feef7a3a2e2ed
tree73c7212c209c71834856ecfcc8670c3185cdba20
parent338b399f125c259321c7229dbce306127ccfaba0
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: 79bbd6e6d1f8 "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