linux/drivers/net/ethernet/freescale/dpaa2
Ioana Ciocoi Radulescu 68d7431553 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>
2019-01-17 15:37:02 -08:00
..
dpaa2-eth-trace.h
dpaa2-eth.c dpaa2-eth: Fix ndo_stop routine 2019-01-17 15:37:02 -08:00
dpaa2-eth.h dpaa2-eth: Add xdp counters 2018-11-28 10:57:46 -08:00
dpaa2-ethtool.c dpaa2-eth: Add QBMAN related stats 2018-12-19 10:37:22 -08:00
dpaa2-ptp.c dpaa2-ptp: defer probe when portal allocation failed 2018-11-09 20:08:58 -08:00
dpaa2-ptp.h net: dpaa2: move DPAA2 PTP driver out of staging/ 2018-10-08 10:23:22 -07:00
dpkg.h
dpni-cmd.h dpaa2-eth: Add ethtool support for flow classification 2018-10-02 22:24:08 -07:00
dpni.c dpaa2-eth: Add ethtool support for flow classification 2018-10-02 22:24:08 -07:00
dpni.h dpaa2-eth: Add ethtool support for flow classification 2018-10-02 22:24:08 -07:00
dprtc-cmd.h net: dpaa2: remove unused code for dprtc 2018-10-08 10:23:22 -07:00
dprtc.c net: dpaa2: remove unused code for dprtc 2018-10-08 10:23:22 -07:00
dprtc.h net: dpaa2: remove unused code for dprtc 2018-10-08 10:23:22 -07:00
Kconfig dpaa2-eth: Fix Kconfig dependencies 2018-10-15 22:23:19 -07:00
Makefile net: dpaa2: move DPAA2 PTP driver out of staging/ 2018-10-08 10:23:22 -07:00