Stephen Hemminger
f81074f861
tcp_probe: avoid modulus operation and wrap fix
...
By rounding up the buffer size to power of 2, several expensive
modulus operations can be avoided. This patch also solves a bug where
the gap need when ring gets full was not being accounted for.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-01-25 15:47:50 -08:00
..
2009-12-15 16:59:59 +01:00
2009-11-25 15:48:41 -08:00
2009-12-25 17:30:22 -08:00
2009-11-25 15:48:41 -08:00
2009-12-25 17:30:22 -08:00
2009-12-03 12:22:55 -08:00
2009-11-29 16:55:45 -08:00
2009-12-02 22:07:23 -08:00
2010-01-19 14:12:20 -08:00
2009-12-08 20:17:51 -08:00
2009-12-08 20:19:53 -08:00
2009-12-08 07:55:01 -08:00
2009-12-01 16:15:57 -08:00
2010-01-06 20:37:01 -08:00
2009-12-16 10:43:34 -08:00
2009-12-01 16:15:58 -08:00
2009-12-08 07:55:01 -08:00
2010-01-17 19:24:49 -08:00
2009-12-15 20:56:42 -08:00
2009-12-08 07:55:01 -08:00
2009-12-03 16:06:13 -08:00
2009-12-15 20:56:42 -08:00
2009-12-15 20:56:42 -08:00
2009-12-15 20:56:42 -08:00
2009-12-15 20:56:42 -08:00
2010-01-25 15:47:50 -08:00
2009-12-08 20:56:11 -08:00
2009-12-08 20:07:54 -08:00
2009-12-13 19:32:39 -08:00
2010-01-24 22:47:53 -08:00