Revision f81074f86176605bfbfafb9944e27628a4e26ce6 authored by Stephen Hemminger on 25 January 2010, 23:47:50 UTC, committed by David S. Miller on 25 January 2010, 23:47:50 UTC
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>
1 parent 4f9a91c
Computing file changes ...