commit | 3791decb5aa0202d2a2473d6cf4947d98e846c7a | [log] [tgz] |
---|---|---|
author | Stephen Hemminger <shemminger@vyatta.com> | Thu Aug 27 13:55:11 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Aug 28 23:31:55 2009 -0700 |
tree | 43fa8ce25c787bf31b9d37545f6f840bbc8f1670 | |
parent | 3bda06a3d7987bfeabb218ac2f17ce22c34f13b3 [diff] |
pktgen: xmit logic reorganization Do some reorganization of transmit logic path: * move transmit queue full idle to separate routine * add a cpu_relax() * eliminate some of the uneeded goto's * if queue is still stopped, go back to main thread loop. * don't give up transmitting if quantum is exhausted (be greedy) Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>