cns3xxx: fix RX softIRQ loop
authorKoen Vandeputte <koen.vandeputte@ncentric.com>
Mon, 27 Jun 2016 14:12:51 +0000 (16:12 +0200)
committerZoltan HERPAI <wigyori@uid0.hu>
Mon, 27 Jun 2016 14:12:51 +0000 (16:12 +0200)
commit17870edd26c7e76e6b0f4d102bca61c8f23a9f9e
tree4092c11c388b6c03f99ef268275c5ede76491578
parent784bd18690b2cbe2f8e217d840220b4cc216f0bd
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