Skip to content
Snippets Groups Projects
user avatar
Jakub Kicinski authored
We already force ring sizes to be power of 2 so replace
modulo operations with AND (size - 1) in index calculations.

Signed-off-by: default avatarJakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
1a1d74d3
History
Name Last commit Last update
..