Re: [vpp-dev] Snooping non-IP packets

2018-10-30 Thread Dave Barach via Lists.Fd.Io
Marion Cc: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] Snooping non-IP packets Thanks Damjan ! Just to be sure, when I use the device-input feature arc thus -- VNET_FEATURE_INIT (myfeature, static) = { .arc_name = "device-input", .node_name = "mynode",

Re: [vpp-dev] Snooping non-IP packets

2018-10-30 Thread Prashant Upadhyaya
Thanks Damjan ! Just to be sure, when I use the device-input feature arc thus -- VNET_FEATURE_INIT (myfeature, static) = { .arc_name = "device-input", .node_name = "mynode", .runs_before = VNET_FEATURES ("ethernet-input"), }; I get to see only the non-IP packets inside

Re: [vpp-dev] Snooping non-IP packets

2018-10-29 Thread Andrew Yourtchenko
If by chance you are in a bridge setup, then you can use the new l2 feature arc - there is an arc that sees exactly that - packets that are neither ipv4 nor IPv6 - you can see the https://gerrit.fd.io/r/#/c/15165/ where I switched the acl plugin over to it... --a > On 29 Oct 2018, at 19:01,

Re: [vpp-dev] Snooping non-IP packets

2018-10-29 Thread Damjan Marion via Lists.Fd.Io
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

[vpp-dev] Snooping non-IP packets

2018-10-29 Thread Prashant Upadhyaya
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