diff options
author | Ioana Ciocoi Radulescu <ruxandra.radulescu@nxp.com> | 2019-01-16 16:51:44 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-01-17 15:37:02 -0800 |
commit | 68d7431553a0cd05bce98d1c1d3fc56b3a1807c0 (patch) | |
tree | 7e39a4d468537cafeae72915e8eafa055084e6a8 /drivers/spi/spi-ath79.c | |
parent | 5191673b693251d8cd80eae360390df4be4ba6b3 (diff) |
dpaa2-eth: Fix ndo_stop routine
In the current implementation, on interface down we disabled NAPI and
then manually drained any remaining ingress frames. This could lead
to a situation when, under heavy traffic, the data availability
notification for some of the channels would not get rearmed correctly.
Change the implementation such that we let all remaining ingress frames
be processed as usual and only disable NAPI once the hardware queues
are empty.
We also add a wait on the Tx side, to allow hardware time to process
all in-flight Tx frames before issueing the disable command.
Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/spi/spi-ath79.c')
0 files changed, 0 insertions, 0 deletions