Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
FIB: encode the label stack in the FIB path during table dump
[vpp.git]
/
src
/
vnet
/
bonding
/
node.h
diff --git
a/src/vnet/bonding/node.h
b/src/vnet/bonding/node.h
index
e1359d0
..
b950442
100644
(file)
--- a/
src/vnet/bonding/node.h
+++ b/
src/vnet/bonding/node.h
@@
-32,7
+32,7
@@
#endif
#define BOND_MODULO_SHORTCUT(a) \
- (
((a) == 2) || ((a) == 4) || ((a) == 8) || ((a) == 16
))
+ (
is_pow2 (a
))
#define foreach_bond_mode \
_ (1, ROUND_ROBIN, "round-robin") \