Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
bonding: add support for numa awareness
[vpp.git]
/
src
/
vnet
/
bonding
/
node.h
diff --git
a/src/vnet/bonding/node.h
b/src/vnet/bonding/node.h
index
41e945a
..
b046f98
100644
(file)
--- a/
src/vnet/bonding/node.h
+++ b/
src/vnet/bonding/node.h
@@
-157,6
+157,11
@@
typedef struct
u8 mode;
u8 lb;
u8 mode;
u8 lb;
+ /* This flag works for active-backup mode only
+ and marks if the working port is local numa. */
+ u8 is_local_numa;
+ /* current working sw_if_index in active-bakeup mode. */
+ u32 sw_if_index_working;
/* the last slave index for the rr lb */
u32 lb_rr_last_index;
/* the last slave index for the rr lb */
u32 lb_rr_last_index;