drivers: net: cpsw: dual_emac: fix reducing of rx descriptor during ifdown
authorMugunthan V N <mugunthanvnm@ti.com>
Wed, 10 Sep 2014 11:08:09 +0000 (16:38 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Sep 2014 20:59:34 +0000 (13:59 -0700)
commita0e2c822bf0a1095dc250b5875e39ac0662a5df6
tree2222391d87a780d1260bd2486b6abfd5f0477040
parented3bfdfdced76aa7edb0b05c0d739ee3a2a6e619
drivers: net: cpsw: dual_emac: fix reducing of rx descriptor during ifdown

In Dual EMAC, when both interface are up and while doing ifdown with heavy
traffic then skbs already processed by DMA from that slave emac has to be
requeued as still the other interface is up and running.

Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw.c