aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/buffer.h
diff options
context:
space:
mode:
authorJohn Lo <loj@cisco.com>2017-10-03 13:13:47 -0400
committerFlorin Coras <florin.coras@gmail.com>2017-10-03 18:59:25 +0000
commit5a6508d7269266b4a3ecacdd197ea3514a0c0e28 (patch)
tree35631094986aaccf4927da10963dea16887aaf2d /src/vnet/buffer.h
parentc6038c91ad0d12945877cdcd451ce27da06a40e9 (diff)
Update L2FIB entry timestamp only if BD aging enabled (VPP-1002)
Change L2 learning path so it update stale timestamp in MAC entry only if aging is enabled on the BD for the MAC entry. Change-Id: I7babe986ceef3c030d8ef9185076c42b405f7b0f Signed-off-by: John Lo <loj@cisco.com>
Diffstat (limited to 'src/vnet/buffer.h')
-rw-r--r--src/vnet/buffer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/buffer.h b/src/vnet/buffer.h
index 7dfc6b99baf..fbefe7c2f56 100644
--- a/src/vnet/buffer.h
+++ b/src/vnet/buffer.h
@@ -173,6 +173,7 @@ typedef struct
u8 l2_len; /* ethernet header length */
u8 shg; /* split-horizon group */
u16 l2fib_sn; /* l2fib bd/int seq_num */
+ u8 bd_age; /* aging enabled */
} l2;
/* l2tpv3 softwire encap, only valid there */