Searched hist:"417 bc4b855f04dd4ad27a7cabe3e7996a7b78ddb" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/net/core/ |
H A D | pktgen.c | diff 417bc4b855f04dd4ad27a7cabe3e7996a7b78ddb Thu Oct 01 11:29:45 CDT 2009 Eric Dumazet <eric.dumazet@gmail.com> pktgen: Fix delay handling
After last pktgen changes, delay handling is wrong.
pktgen actually sends packets at full line speed.
Fix is to update pkt_dev->next_tx even if spin() returns early, so that next spin() calls have a chance to see a positive delay.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|