]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1b32e707919b23506759e355187dac028086e8e6
tree425324ef55119bb7420b4ab199e0a0821a3f157b
parentf70a22444ab7e8fe6668ac9f0dc20dc55975e3f7
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