diff options
author | Eric Dumazet <[email protected]> | 2011-10-20 17:00:21 -0400 |
---|---|---|
committer | David S. Miller <[email protected]> | 2011-10-20 17:00:21 -0400 |
commit | 33136d12be00596a8320d4fe88f95c44f67afbdb (patch) | |
tree | b12e136753a269684794308df59183329ed553a8 /tools/perf/scripts/python | |
parent | e9266a02b7e6542355431955075b4e688962fc0a (diff) |
pktgen: remove ndelay() call
Daniel Turull reported inaccuracies in pktgen when using low packet
rates, because we call ndelay(val) with values bigger than 20000.
Instead of calling ndelay() for delays < 100us, we can instead loop
calling ktime_now() only.
Reported-by: Daniel Turull <[email protected]>
Signed-off-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions