bonding: feature arc may not be enabled for the slave interface 34/22634/3
authorSteven Luong <sluong@cisco.com>
Wed, 9 Oct 2019 17:29:47 +0000 (10:29 -0700)
committerDave Barach <openvpp@barachs.net>
Fri, 11 Oct 2019 10:30:56 +0000 (10:30 +0000)
commit1a41a35b27da6921d6d86a9f1ad5f1b46e1185f7
tree375af4433a8857538affa8ba075ef4f335cb88d0
parentc31dc31f84961033ecb6354811e0c360b6cf5f79
bonding: feature arc may not be enabled for the slave interface

vnet_feature_enable_disable takes sw_if_index, not hw_if_index. If there
is a subinterface created prior to the slave interface is created,
sw_if_index and hw_if_index start to diverge and the problem will happen.

Type: fix

Signed-off-by: Steven Luong <sluong@cisco.com>
Change-Id: I11e1f099378832f83b748526c6cbeb56960fad3c
src/vnet/bonding/cli.c