On bonded interface admin-down, should stop all slave links 91/1991/3
authorJohn Lo <loj@cisco.com>
Mon, 18 Jul 2016 22:06:14 +0000 (18:06 -0400)
committerDamjan Marion <dmarion.lists@gmail.com>
Tue, 19 Jul 2016 14:21:41 +0000 (14:21 +0000)
commit3b2944d5f1bc7b42b31293d0d19f36b237490cd6
treee4ac755d56b48080ccdc5af81081f4c32d22333f
parent69ae1878d51302a2c539fb0366a388ba28bea43f
On bonded interface admin-down, should stop all slave links

When bonded interface is set to admin down, all slave links should
also be stopped or they will continue to receive packets and then
be dropped because bonded interface is down.

Also remove setting bonded interface L3 packet size limit to that of
slave on startup - it is not needed and can cause undesirable side
effect if its value become incompatible with bonded interface MTU.

Change-Id: Ibdd8acac0ca41a867131441eb26518592bb7d98a
Signed-off-by: John Lo <loj@cisco.com>
vnet/vnet/devices/dpdk/device.c
vnet/vnet/devices/dpdk/init.c