l2: L2/L3 mode swicth cleanup and l2-patch fix 33/27433/2
authorJohn Lo <loj@cisco.com>
Thu, 14 May 2020 19:02:16 +0000 (15:02 -0400)
committerDave Wallace <dwallacelf@gmail.com>
Thu, 11 Jun 2020 14:44:11 +0000 (14:44 +0000)
commit93dd1da259fba344b4620a5241b74be5de8bd254
treec318be5e0b072391b6e551ffd7a51777e334dbb9
parenta37c63c6d841168cb59aa428f89a3effc5f9669e
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
(cherry picked from commit f415a3b53a51b261d08cc3312c25f250d6bc1bd6)
src/vnet/bonding/cli.c
src/vnet/bonding/device.c
src/vnet/l2/l2_input.c
src/vnet/l2/l2_patch.c