RE: [PATCH 1/3] ucc_geth: Fix empty TX queue processing

2010-01-11 Thread Wu Jiajun-B06378
Yes,'if (!skb)' is enough. You can reproduce transmitting stopping if you use 'if ((bd == ugeth-txBd[txQ])' and run ipforwarding with MTU=64 1Gbps 100%linerate. -Original Message- From: Anton Vorontsov [mailto:avoront...@ru.mvista.com] Sent: 2010年1月11日 18:53 To: Wu Jiajun-B06378 Cc

RE: [PATCH 1/3] ucc_geth: Fix empty TX queue processing

2010-01-10 Thread Wu Jiajun-B06378
'bd == ugeth-txBd[txQ]' has two possible statuses: 1)full queue. 2)empty queue. Removing 'netif_queue_stopped() == 0' will make transmitting stopping when the queue is full. I made a new patch for this oops. From 726765194352d01dc8ea672d97612589b67cec3f Mon Sep 17 00:00:00 2001 From: Jiajun