summaryrefslogtreecommitdiff
path: root/include/linux/mbcache.h
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2011-10-20 21:00:21 (GMT)
committerDavid S. Miller <davem@davemloft.net>2011-10-20 21:00:21 (GMT)
commit33136d12be00596a8320d4fe88f95c44f67afbdb (patch)
treeb12e136753a269684794308df59183329ed553a8 /include/linux/mbcache.h
parente9266a02b7e6542355431955075b4e688962fc0a (diff)
downloadlinux-fsl-qoriq-33136d12be00596a8320d4fe88f95c44f67afbdb.tar.xz
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 <daniel.turull@gmail.com> Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/mbcache.h')
0 files changed, 0 insertions, 0 deletions