From: Hariprasad Shenai Date: Wed, 23 Dec 2015 05:59:56 +0000 (+0530) Subject: cxgb4: Use napi_complete_done() api in napi handler X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=812787b8e4ea1a1c9144fe06ebf9b45371b2f5ce;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git cxgb4: Use napi_complete_done() api in napi handler Signed-off-by: Hariprasad Shenai Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/chelsio/cxgb4/sge.c b/drivers/net/ethernet/chelsio/cxgb4/sge.c index 138be46d199d..5e3ffa73ee13 100644 --- a/drivers/net/ethernet/chelsio/cxgb4/sge.c +++ b/drivers/net/ethernet/chelsio/cxgb4/sge.c @@ -2288,7 +2288,7 @@ static int napi_rx_handler(struct napi_struct *napi, int budget) if (likely(work_done < budget)) { int timer_index; - napi_complete(napi); + napi_complete_done(napi, work_done); timer_index = QINTR_TIMER_IDX_G(q->next_intr_params); if (q->adaptive_rx) {