Thread (23 messages) flat view 23 messages, 4 authors, 2017-01-26

RE: [PATCH net v2 3/4] r8152: re-schedule napi for tx

From: Hayes Wang <hidden>
Date: 2017-01-26 01:22:15
Also in: lkml

Eric Dumazet [mailto:eric.dumazet@gmail.com]
Sent: Wednesday, January 25, 2017 9:57 PM
[...]
quoted
 		napi_complete(napi);
 		if (!list_empty(&tp->rx_done))
 			napi_schedule(napi);
+		else if (!skb_queue_empty(&tp->tx_queue) &&
+			 !list_empty(&tp->tx_free))
+			napi_schedule(&tp->napi);
Why using &tp->napi instead of napi here, as done 3 lines above ?
Oops. I would fix it. Thanks.

Best Regards,
Hayes

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help