pktgen: avoid calling gettimeofday
authorStephen Hemminger <shemminger@vyatta.com>
Thu, 27 Aug 2009 13:55:15 +0000 (13:55 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 29 Aug 2009 06:32:09 +0000 (23:32 -0700)
commit5c9d191c166233e723e632e79bcca2127a5fece9
tree425324ef55119bb7420b4ab199e0a0821a3f157b
parent5b8db2f568c4ee2a436f0e1c1416153e2878f869
pktgen: avoid calling gettimeofday

If not using delay then no need to update next_tx after
each packet sent. This allows pktgen to send faster especially
on systems with slower clock sources.

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