l2: L2/L3 mode swicth cleanup and l2-patch fix 63/28463/2
authorJohn Lo <loj@cisco.com>
Thu, 14 May 2020 19:02:16 +0000 (15:02 -0400)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Tue, 18 Aug 2020 19:47:21 +0000 (19:47 +0000)
commit3736bbbbf4e35ec4700410f13ab09fdeb9c78e70
tree633619e82e1aba1b20c1ec3e5cb863f1c1ab4921
parent3c0ea3ddea1fc39d385c7c895e298c207f2edeac
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