]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
enic: fix rx napi poll return value
authorGovindarajulu Varadarajan <_govind@gmx.com>
Tue, 20 Jan 2015 13:16:15 +0000 (18:46 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sun, 25 Jan 2015 06:39:03 +0000 (22:39 -0800)
commitf104fedc0da126abe93dd0f4a9fa13e5133bf9df
tree5497a8c5608f9dc6c7a23344c5a190fc877ef550
parent5d7b045b73f4ce9fe53eb1b4fc219e141d0fdc6a
enic: fix rx napi poll return value

With the commit d75b1ade567ffab ("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>
drivers/net/ethernet/cisco/enic/enic_main.c