diff options
| author | Jakub Kicinski <[email protected]> | 2016-10-31 20:43:17 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-11-01 11:05:00 -0400 |
| commit | 1a1d74d378b13ad3f93e8975a0ade0980a49d28b (patch) | |
| tree | 2c4eb8ba6ab039cba1dd408bb6b1ea4970273d56 /tools/perf/scripts/python/bin | |
| parent | b64b7bb6d492ef1bbe9aa9ed7eeb18f7148ece3d (diff) | |
nfp: use AND instead of modulo to get ring indexes
We already force ring sizes to be power of 2 so replace
modulo operations with AND (size - 1) in index calculations.
Signed-off-by: Jakub Kicinski <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions