sky2: use napi_complete_done
Update the sky2 driver to pass number of packets done to NAPI. The driver was never updated when napi_complete_done was added. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
f5bb341e1d
commit
f4b63ea08f
1 changed files with 1 additions and 1 deletions
|
@ -3070,7 +3070,7 @@ static int sky2_poll(struct napi_struct *napi, int work_limit)
|
|||
goto done;
|
||||
}
|
||||
|
||||
napi_complete(napi);
|
||||
napi_complete_done(napi, work_done);
|
||||
sky2_read32(hw, B0_Y2_SP_LISR);
|
||||
done:
|
||||
|
||||
|
|
Loading…
Reference in a new issue