]> git.baikalelectronics.ru Git - kernel.git/commit
net: sgi: ioc3-eth: split ring cleaning/freeing and allocation
authorThomas Bogendoerfer <tbogendoerfer@suse.de>
Fri, 30 Aug 2019 09:25:32 +0000 (11:25 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Aug 2019 20:54:36 +0000 (13:54 -0700)
commit5fd9abcd543de1d499e397ec84cd4307ad50a999
treedfd27e655d31a8cddd9a009c62d2d36bd85f47a3
parent86a46aac8643b143e4bb23afac97395e31799493
net: sgi: ioc3-eth: split ring cleaning/freeing and allocation

Do tx ring cleaning and freeing of rx buffers, when chip is shutdown and
allocate buffers before bringing chip up.

Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sgi/ioc3-eth.c