mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-18 18:56:37 +00:00
ramips: Change ethernet driver to use napi_complete_done.
Backport of mailine linux commit. Speeds up ethernet slightly and reduces latency. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
79366b8194
commit
6aa46bf05e
@ -1003,7 +1003,7 @@ static int fe_poll(struct napi_struct *napi, int budget)
|
||||
goto poll_again;
|
||||
}
|
||||
|
||||
napi_complete(napi);
|
||||
napi_complete_done(napi, rx_done);
|
||||
fe_int_enable(tx_intr | rx_intr);
|
||||
} else {
|
||||
rx_done = budget;
|
||||
|
Loading…
Reference in New Issue
Block a user