Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Deprecate old buffer replication scheme
[vpp.git]
/
src
/
vnet
/
l2
/
feat_bitmap.h
diff --git
a/src/vnet/l2/feat_bitmap.h
b/src/vnet/l2/feat_bitmap.h
index
5940ff7
..
a1b295a
100644
(file)
--- a/
src/vnet/l2/feat_bitmap.h
+++ b/
src/vnet/l2/feat_bitmap.h
@@
-80,7
+80,7
@@
feat_bitmap_get_next_node_index (u32 * next_nodes, u32 bitmap)
{
u32 first_bit;
-
count_leading_zeros (first_bit,
bitmap);
+
first_bit = count_leading_zeros (
bitmap);
first_bit = uword_bits - 1 - first_bit;
return next_nodes[first_bit];
}