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-16 12:16:41 -05:00
2009-11-12 02:05:06 -08:00
2010-01-24 19:52:24 -08:00
2010-01-15 01:49:28 -08:00
2009-12-08 20:22:31 -08:00
2010-01-16 01:04:04 -08:00
2009-12-17 12:07:25 -08:00
2010-01-08 17:31:24 +01:00
2009-11-29 16:55:45 -08:00
2010-01-12 20:53:29 -08:00
2009-11-29 16:55:45 -08:00
2010-01-22 22:45:46 -08:00
2009-12-08 07:55:01 -08:00
2009-09-01 01:13:07 -07:00
2009-11-25 15:14:13 -08:00
2009-11-15 22:21:34 -08:00
2009-11-25 15:14:13 -08:00
2010-01-25 15:47:50 -08:00
2010-01-24 22:47:53 -08:00
2009-12-08 07:55:01 -08:00
2009-12-15 08:53:32 -08:00
2009-12-15 08:53:25 -08:00
2009-12-11 15:07:57 -08:00
2009-07-05 19:15:35 -07:00
2009-12-08 07:55:01 -08:00
2010-01-19 02:03:09 -08:00
2010-01-12 20:53:29 -08:00
2009-12-09 19:43:33 -08:00
2009-11-25 15:14:13 -08:00
2010-01-16 01:04:04 -08:00
2010-01-11 15:39:42 -08:00
2009-12-08 07:55:01 -08:00
2009-12-16 10:32:31 -08:00
2009-12-07 16:51:23 -05:00
2010-01-16 01:04:04 -08:00
2009-11-25 15:14:13 -08:00
2009-12-09 19:43:33 -08:00
2010-01-03 21:25:53 -08:00
2010-01-08 13:55:14 -08:00
2009-11-29 16:55:45 -08:00
2009-12-08 07:55:01 -08:00
2009-07-12 12:22:34 -07:00
2009-12-09 19:43:33 -08:00
2010-01-14 17:14:58 -05:00
2009-12-08 07:55:01 -08:00
2010-01-24 22:47:53 -08:00
2009-12-11 15:07:57 -08:00
2009-07-15 08:53:39 -07:00
2009-07-12 20:11:14 -07:00
2009-12-17 10:51:40 -05:00
2009-03-16 16:23:30 +01:00