Yes, you can just use device-input feature arc instead. Please note that packets on that arc are not (optionally) assigned to sub-interfaces yet. So if you have vlan subinterface, packets will show up as main interface packets and with original l2 header.
-- Damjan > On 29 Oct 2018, at 18:22, Prashant Upadhyaya <praupadhy...@gmail.com> wrote: > > Hi, > > I am using DPDK Plugin > I want to write a node which will get to observe all the non-IP packets. > By observe, I mean that I want my node to see the non-IP packets, but > when I return from my node, the packets should traverse the original > graph of VPP which they would have followed had my node not been > there. > > I am wondering what's the best way to achieve the above. > I have done VNET_FEATURE_INIT before using which eg. I got to observe > all the IPv4 packets by making my feature node sit on the ip4-unicast > arc and running before ip4-lookup. > > Can I do something similar for my requirement of observing all the > non-IP packets in a similar way or some other way, any advice would be > helpful. > > Regards > -Prashant > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > > View/Reply Online (#11021): https://lists.fd.io/g/vpp-dev/message/11021 > Mute This Topic: https://lists.fd.io/mt/27783711/675642 > Group Owner: vpp-dev+ow...@lists.fd.io > Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [dmar...@me.com] > -=-=-=-=-=-=-=-=-=-=-=-
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#11022): https://lists.fd.io/g/vpp-dev/message/11022 Mute This Topic: https://lists.fd.io/mt/27783711/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-