Hello folks,

I'm trying to figure out how to make PPPoE plugin work with dot1q
subinterfaces (and maybe with qinq interfaces).

I've made a prototype with the following things:
1) I enabled arc "device-input" with the next node "pppoe-input" on the
pppoe cp interface: to get rid of L3_MAC_MISMATCH error (it's a bit
controversial thing, but I didn't find any other proper way to get it
working).
2) Because of the previous point - I rewrite parsing in the "pppoe-input"
node to parse all headers from the scratch.
3) I get rid of "local mac" because it's more obvious to get mac address
directly from encap interface when you filling up DPO adjacency. Anyway, in
the case of the dot1q subinterface, we need to get vlan tags to fill the
DPO adjacency.

I'm new to VPP, so maybe some of these things are not good from some points
of view. So it would be great if someone will look at it (and maybe propose
something).

Also, there are some open questions:
- Should we strip the vlan tag before we sent pppoe packets to the cp
interface? (I keep it, but my cp is ok with parsing vlan tags).
- Is there any sense in pointing local mac address when we creating a pppoe
session? We can get it from the encap interface.

https://gerrit.fd.io/r/c/vpp/+/26964

-- 
Best regards
Stanislav Zaikin
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#16293): https://lists.fd.io/g/vpp-dev/message/16293
Mute This Topic: https://lists.fd.io/mt/74099572/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to