Florian Fainelli 16f62d9bed net: systemport: fix TX NAPI work done return value
Although we do not limit the number of packets the TX completion
function bcm_sysport_tx_reclaim() is allowed to reclaim, we were still
using its return value as-is. This means that we could hit the WARN() in
net/core/dev.c where work_done >= budget.

Make sure we do exit the NAPI context when the TX ring is empty, and
pretend there was no work to do.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-07-01 17:10:17 -07:00
..
2014-05-13 17:43:20 -04:00
2014-05-13 17:43:20 -04:00
2014-05-13 17:43:20 -04:00
2014-05-13 18:02:24 -04:00
2014-05-13 17:43:20 -04:00
2014-05-13 17:43:20 -04:00
2014-05-13 17:43:20 -04:00
2014-05-13 17:43:20 -04:00
2014-05-13 17:43:20 -04:00
2014-05-13 17:43:20 -04:00
2014-05-13 17:43:20 -04:00
2014-06-11 15:44:29 -07:00
2014-05-13 17:43:20 -04:00
2014-05-13 17:43:20 -04:00
2014-05-13 17:43:20 -04:00
2014-05-22 15:50:13 -04:00
2014-04-21 14:58:48 -04:00
2014-05-14 15:11:22 -04:00