l2: L2/L3 mode swicth cleanup and l2-patch fix 91/27091/3
authorJohn Lo <loj@cisco.com>
Thu, 14 May 2020 19:02:16 +0000 (15:02 -0400)
committerFlorin Coras <florin.coras@gmail.com>
Sat, 16 May 2020 02:52:13 +0000 (02:52 +0000)
commitf415a3b53a51b261d08cc3312c25f250d6bc1bd6
tree56ec4613977c9b7c7993c7675fce3e19b6f79d43
parentf3a522fb3f3a82e579fbdd3f4bb94e399ad95bb1
l2: L2/L3 mode swicth cleanup and l2-patch fix

Cleanup L2/L3 mode switch to not redirect to/from ethernet-input node
as it is no longer necessary.
L2 patch should use sw_if_index for device feature enable/disable.

Type: fix

Signed-off-by: John Lo <loj@cisco.com>
Change-Id: I0f24161d027b07c188fd1e05276146f94c075710
src/vnet/bonding/cli.c
src/vnet/bonding/device.c
src/vnet/l2/l2_input.c
src/vnet/l2/l2_patch.c