summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/chelsio
diff options
context:
space:
mode:
authorHariprasad Shenai <hariprasad@chelsio.com>2015-12-23 06:59:56 +0100
committerDavid S. Miller <davem@davemloft.net>2015-12-23 18:05:53 +0100
commit812787b8e4ea1a1c9144fe06ebf9b45371b2f5ce (patch)
treeffad07cf8617a9feb5bf01611b2272cf557347e9 /drivers/net/ethernet/chelsio
parentcxgb4: Use the node info to alloc_ring() for RX queues (diff)
downloadlinux-812787b8e4ea1a1c9144fe06ebf9b45371b2f5ce.tar.xz
linux-812787b8e4ea1a1c9144fe06ebf9b45371b2f5ce.zip
cxgb4: Use napi_complete_done() api in napi handler
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/chelsio')
-rw-r--r--drivers/net/ethernet/chelsio/cxgb4/sge.c2
1 files changed, 1 insertions, 1 deletions
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) {