pktgen: use common idle routine
authorStephen Hemminger <shemminger@vyatta.com>
Thu, 27 Aug 2009 13:55:18 +0000 (13:55 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 29 Aug 2009 06:41:36 +0000 (23:41 -0700)
commit64e8ff5ef2a798cae2e3bede75644173aae98e08
treee139a7ceca9d0c859d6e1afdae13b710fb0654da
parent2bc481cf433879f0e6cdd4d899fc21ee05dcea23
pktgen: use common idle routine

Simpler to have one place that spins and accounts for delays,
this will also make the last packet be detected faster for more
repeatable timing.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/pktgen.c