net: mvneta: fix changing MTU when using per-cpu processing
authorMarcin Wojtas <mw@semihalf.com>
Fri, 1 Apr 2016 13:21:18 +0000 (15:21 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Apr 2016 19:16:37 +0000 (15:16 -0400)
commitdb5dd0db2d8352bb7fd5e9d16e17b79d66c7e4e3
tree2ee755c9338719b60c84ba0fb60be01d035fa643
parentce2a04c15f4b943015aab0c7476cb1460654e914
net: mvneta: fix changing MTU when using per-cpu processing

After enabling per-cpu processing it appeared that under heavy load
changing MTU can result in blocking all port's interrupts and
transmitting data is not possible after the change.

This commit fixes above issue by disabling percpu interrupts for the
time, when TXQs and RXQs are reconfigured.

Signed-off-by: Marcin Wojtas <mw@semihalf.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvneta.c