cns3xxx: fix RX softIRQ loop
authorKoen Vandeputte <koen.vandeputte@ncentric.com>
Thu, 16 Jun 2016 11:48:39 +0000 (13:48 +0200)
committerJohn Crispin <john@phrozen.org>
Fri, 17 Jun 2016 02:13:07 +0000 (04:13 +0200)
commitf532191c1cefa9950d4064dbd9dd810b90b169bd
treeae27e52f0577198304eac7fa0dec724a84c6f239
parent137b1ac5e8df6110a9ecea8a505ff61b64203ced
cns3xxx: fix RX softIRQ loop

Already reschedule when 1 or more frames came in.

Checking for a full queue could produce a re-schedule loop as
the checked RX ring location could contain undefined values
depending on activity in previous loops.

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
target/linux/cns3xxx/files/drivers/net/ethernet/cavium/cns3xxx_eth.c