aboutsummaryrefslogtreecommitdiffstats
path: root/src/vppapigen.am
diff options
context:
space:
mode:
authorSteven <sluong@cisco.com>2019-01-17 15:11:29 -0800
committersteven luong <sluong@cisco.com>2019-01-30 15:30:36 +0000
commit2b98236eaa48af8bba4c84d90b89107003f48a43 (patch)
tree08893f585e16837df9f19b9d23f61879ea4b5b63 /src/vppapigen.am
parent3f69a516588908e1f0d4edfad47ab5b3e159cf90 (diff)
bond: packet drops on VPP bond interface [VPP-1544]
We register callback for VNET_HW_INTERFACE_LINK_UP_DOWN_FUNCTION and VNET_SW_INTERFACE_ADMIN_UP_DOWN_FUNCTION to add and remove the slave interface from the bond interface accordingly. For static bonding without lacp, one would think that it is good enough to put the slave interface into the ective slave set as soon as it is configured. Wrong, sometimes the slave interface is configured to be part of the bonding without ever bringing up the hardware carrier or setting the admin state to up. In that case, we send traffic to the "dead" slave interface. The fix is to make sure both the carrier and admin state are up before we put the slave into the active set for forwarding traffic. Change-Id: I93b1c36d5481ca76cc8b87e8ca1b375ca3bd453b Signed-off-by: Steven <sluong@cisco.com> (cherry picked from commit e43278f75fe3188551580c7d7991958805756e2f)
Diffstat (limited to 'src/vppapigen.am')
0 files changed, 0 insertions, 0 deletions