diff options
author | Eric Dumazet <edumazet@google.com> | 2015-01-11 19:02:32 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-12 02:44:55 (GMT) |
commit | 12d80ac4e77265a89b87c3b80e2c9a7b29f7fdfb (patch) | |
tree | 0ce2affa569497afe305f1ddf3eb90c255858aee /drivers/net/ethernet/chelsio/cxgb4 | |
parent | 0c8185944a125621a1766615585238a3563ccac3 (diff) | |
download | linux-12d80ac4e77265a89b87c3b80e2c9a7b29f7fdfb.tar.xz |
net: dnet: fix dnet_poll()
A NAPI poll() handler is supposed to return exactly the budget when/if
napi_complete() has not been called.
It is also supposed to return number of frames that were received, so
that netdev_budget can have a meaning.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/chelsio/cxgb4')
0 files changed, 0 insertions, 0 deletions