]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5e2c15986e1d36f1eb72dbc68a5dd230e124332a
tree2222391d87a780d1260bd2486b6abfd5f0477040
parentbefb967b0f36641ea527d1e6e1b62a7fd7228b63
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