Send GARP/NA on bonded intf slave up/down if in active-backup mode 44/7444/2
authorJohn Lo <loj@cisco.com>
Mon, 26 Jun 2017 05:40:20 +0000 (01:40 -0400)
committerNeale Ranns <nranns@cisco.com>
Thu, 6 Jul 2017 18:06:06 +0000 (18:06 +0000)
commitdc30c6d3d6fadea3fca54ebedc4ca066597c369c
treebf9da93eaadd218baa387240f2923c30e1648ded
parent0786710856a1cf749ce6fe6d6916f0c6bdbc1986
Send GARP/NA on bonded intf slave up/down if in active-backup mode

If a bonded interface is in active-backup mode and configured with
IPv4 and/or IPv6 addresses, on slave interface link up/down, send
a GARP packet if configured with an IPv4 address and an unsolcited
NA if configured with an IPv6 address. These packets can help with
faster route convergence in the next hop router/switch.

Change-Id: I68ccb11a4a40cda414704fa08ee0171c952befa2
Signed-off-by: John Lo <loj@cisco.com>
(cherry picked from commit 8b81cb43359380e50d3fc216d93ff05894149939)
src/plugins/dpdk/device/common.c
src/plugins/dpdk/device/dpdk.h
src/plugins/dpdk/device/init.c
src/vnet/ethernet/arp.c
src/vnet/ethernet/arp_packet.h
src/vnet/ip/ip6.h
src/vnet/ip/ip6_neighbor.c