bnx2x: fix napi poll return value for repoll
authorGovindarajulu Varadarajan <_govind@gmx.com>
Sun, 25 Jan 2015 10:39:23 +0000 (16:09 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Jan 2015 08:29:29 +0000 (00:29 -0800)
commit24e579c8898aa641ede3149234906982290934e5
tree43dc9c578a08e2a5b0def1da028fa32950b36406
parentbf693f7beb35b6d001bd887e5b02163335f3bd9a
bnx2x: fix napi poll return value for repoll

With the commit d75b1ade567ffab ("net: less interrupt masking in NAPI") napi
repoll is done only when work_done == budget. When in busy_poll is we return 0
in napi_poll. We should return budget.

Signed-off-by: Govindarajulu Varadarajan <_govind@gmx.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c