提交 f4b63ea0 编写于 作者: S stephen hemminger 提交者: David S. Miller

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: NStephen Hemminger <stephen@networkplumber.org>
Acked-by: NEric Dumazet <edumazet@google.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 f5bb341e
......@@ -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:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册