trafgen: disable timer slack
commit319840b83b70b49705928687dcbd40653709e305
authorEric Dumazet <edumazet@google.com>
Fri, 30 Jan 2015 15:50:43 +0000 (30 07:50 -0800)
committerDaniel Borkmann <dborkman@redhat.com>
Fri, 30 Jan 2015 15:54:47 +0000 (30 16:54 +0100)
tree0b364897eea1e8ed52b4c9da876282ee949f693e
parente6890cb3e59ec4bdbe57e999592b9488fcfa1f80
trafgen: disable timer slack

linux has default time slack of 50 usec, which means that trafgen
'gap' option is unable to precisely control delays.

Set the process timer slack to the minimum of 1 nsec.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
trafgen.c