Does “show interface VirtualEthernet0/0/0 features” show your output feature?

You might try “trace add dpdk-input 10” and “show trace” to see what’s 
happening to packet received on GigabitEthernet0/8/0.

The story about debug messages not appearing makes me wonder if you’re actually 
running the code that you think you’re running.

Try running vpp manually: “.../build-root/build-vpp_debug_native/vpp unix 
interactive” and see if your message appear. If not, work out what’s going on 
before you do anything else...

HTH... Dave

From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of 
muthukumar.sivaperu...@veryxtech.com
Sent: Wednesday, November 20, 2019 9:04 AM
To: vpp-dev@lists.fd.io
Subject: [vpp-dev] VPP New plugin intergation

Hi Team,

 We are  trying to implement a plugin to process all packets on virtual 
interface.
 We are doing span  from physical interface to virtual interface on vpp,by 
running plugin arc node with interface-output.
 We are facing some problems.

Could you please help us to resolve the issue by giving your valuable 
inputs/suggestions in this regard?.

Steps:
=====
1. Creating virtual interface
             cmd:   create vhost-user socket /var/run/vpp/vhost1.sock
2.Spanning packet received from physical interface to virtual interface
             cmd: set interface span GigabitEthernet0/8/0 destination 
VirtualEthernet0/0/0 both
3.Enable my plugin to process all packets on virtual interface.
             cmd:myplugin enable-disable VirtualEthernet0/0/0

Problems:
========
1. Couldn't receive packets from virtual interface using myplugin(while 
mirroring from physical interface).
2.For debugging in VPP nodes ,tried to add clib 
messages(clib_warning,clib_unix_warning,clib_error,clib_unix_error) using 
library but we couldn't get any debug message. Even we didn't get debug 
messages from dpdk-input and ethernet-input nodes.
3. In general , in VPP , how to enable to debug each node ?
4. Any input /document related to virtual interface packet processing ?


VPP version:
==========
                20.01-rc0~519-g669f4e341

Our plugin implementation:
=======================
[cid:image001.png@01D59F8A.D9171710]

Thank You very much in advance .
Awaiting for your reply as early as possible .

Thanks & Regards,
MuthuKumar S
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

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