pppoe: make pppoe plugin work with dot1q subinterfaces 64/26964/10
authorzstas <zstaseg@gmail.com>
Sat, 9 May 2020 16:57:23 +0000 (16:57 +0000)
committerDamjan Marion <dmarion@me.com>
Sat, 24 Oct 2020 09:53:58 +0000 (09:53 +0000)
commit340b10a38ed84600ed3336657ef3a104d9ebe877
treef1515e2215be726b6a2d149871fe015b3f550179
parent58d66743aa2a40d73808eee9dcfec77f78d6e9f3
pppoe: make pppoe plugin work with dot1q subinterfaces

- Enabling arc "device-input" with the next node "pppoe-input" on the pppoe cp interface: to get rid of L3_MAC_MISMATCH error
- Parsing in the "pppoe-input" node fixed to parse all headers from the scratch
- Getting mac address directly from encap interface when filling up DPO adjacency. Anyway, in the case of the dot1q subinterface, we need to get vlan tags to fill the DPO adjacency.

Type: improvement

Change-Id: I5405931b0f58bef7b852c079a7e66e0da8b5de0f
Signed-off-by: Stanislav Zaikin <zstaseg@gmail.com>
src/plugins/pppoe/pppoe.api
src/plugins/pppoe/pppoe.c
src/plugins/pppoe/pppoe.h
src/plugins/pppoe/pppoe_api.c
src/plugins/pppoe/pppoe_cp.c
src/plugins/pppoe/pppoe_cp_node.c
src/plugins/pppoe/pppoe_decap.c
src/plugins/pppoe/pppoe_test.c