|
@@ -442,15 +442,11 @@ static int mal_poll(struct napi_struct *napi, int budget)
|
|
|
if (unlikely(mc->ops->peek_rx(mc->dev) ||
|
|
|
test_bit(MAL_COMMAC_RX_STOPPED, &mc->flags))) {
|
|
|
MAL_DBG2(mal, "rotting packet" NL);
|
|
|
- if (napi_reschedule(napi))
|
|
|
- mal_disable_eob_irq(mal);
|
|
|
- else
|
|
|
- MAL_DBG2(mal, "already in poll list" NL);
|
|
|
-
|
|
|
- if (budget > 0)
|
|
|
- goto again;
|
|
|
- else
|
|
|
+ if (!napi_reschedule(napi))
|
|
|
goto more_work;
|
|
|
+
|
|
|
+ mal_disable_eob_irq(mal);
|
|
|
+ goto again;
|
|
|
}
|
|
|
mc->ops->poll_tx(mc->dev);
|
|
|
}
|