>> 1) add a new feature arc flavor 'all' alongside nonip, ip4 and ip6.
>> Nodes on this arc will gets all packets regardless of the headers. It keeps
>> backward compat but should add a small performance hit when L2 feature
>> arcs are enabled (we have to visit 4 feature arcs instead of 3). This is my
>> favorite.

> How this works if you have features enabled on both all and ip4 for
> example?

The easy solution would be that the nodes receive the packet twice. Is there 
any issue with that?

>> 2) remove feature arcs flavors and just pass all packets to feature
>> nodes. It is the responsibility of the nodes to check the packet type.

> I would say 2, but that's just my 2 cents...

My main concern with that is we break backward compatibility, especially for 
out-of-tree nodes, so I'd advocate against it.

Best
Ben
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11988): https://lists.fd.io/g/vpp-dev/message/11988
Mute This Topic: https://lists.fd.io/mt/29523811/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