enic: fix rx napi poll return value
With the commit d75b1ade56
("net: less interrupt masking in NAPI") napi repoll
is done only when work_done == budget. When we are in busy_poll we return 0 in
napi_poll. We should return budget.
Signed-off-by: Govindarajulu Varadarajan <_govind@gmx.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
5d7b045b73
commit
f104fedc0d
|
@ -1335,7 +1335,7 @@ static int enic_poll_msix_rq(struct napi_struct *napi, int budget)
|
|||
int err;
|
||||
|
||||
if (!enic_poll_lock_napi(&enic->rq[rq]))
|
||||
return work_done;
|
||||
return budget;
|
||||
/* Service RQ
|
||||
*/
|
||||
|
||||
|
|
Loading…
Reference in New Issue