Update L2FIB entry timestamp only if BD aging enabled (VPP-1002) 43/8643/1
authorJohn Lo <loj@cisco.com>
Tue, 3 Oct 2017 17:13:47 +0000 (13:13 -0400)
committerFlorin Coras <florin.coras@gmail.com>
Tue, 3 Oct 2017 18:59:37 +0000 (18:59 +0000)
commitdab7eb87bc2ed33f8fee8c3e9aa0fce50606de21
treeff51a88b405ac1e94f7d3989da905443578adbe3
parent780af45905fe99093e32af05281b1978b920dd09
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>
(cherry picked from commit 5a6508d7269266b4a3ecacdd197ea3514a0c0e28)
src/vnet/buffer.h
src/vnet/l2/l2_input.c
src/vnet/l2/l2_learn.c