Hi Stanislav

 

Yes, I know about the “trace add dpdk-input 100” trace and have used it fine.  
However, I am debugging a problem for interface-output and packets headed out 
would not be covered by dpdk-input, right?

 

I have trex and VPP node directly connected.  Trex sends packets to 
TenGiig3/0/0 of VPP node and these packets are seen in dpdk-input trace.  VPP 
also switches the input packets out TenGig3/0/1 to trex Rx port.   Before I 
enable the upf6 plugin on the VPP node, trex is sending and receiving packets 
just fine.  Soon as I enable the upf6 plugin, trex Rx packet rate slows down 
and very soon goes to zero.  “show error” on VPP does not show anything useful. 
 I have to debug on VPP what’s happening to packets upf6 sends on TenGig3/0/1 
out to trex.  This is why I tried “trace filter include upf6 5” but don’t see 
any packets in “show trace”.  I am fairly, trex packets are received.  “show 
run” on VPP does not show me any clue yet.

 

Thanks much!

 

Hemant

 

From: Stanislav Zaikin <zsta...@gmail.com> 
Sent: Tuesday, March 02, 2021 12:29 PM
To: hem...@mnkcg.com
Cc: vpp-dev <vpp-dev@lists.fd.io>
Subject: Re: [vpp-dev] plugin tracing?

 

Hi Hemant,

 

Try something like this:

trace filter include upf6 100

trace add dpdk-input 100

 

dpdk-input for regular dpdk interfaces, virtio-input for tap/virtio interfaces, 
memif-input for memif interfaces.

 

On Tue, 2 Mar 2021 at 19:58, hemant via lists.fd.io <http://lists.fd.io>  
<hemant=mnkcg....@lists.fd.io <mailto:mnkcg....@lists.fd.io> > wrote:

Is this how a plugin enables tracing?

 

vpp# trace filter include upf6 5

 

I don’t see any packets with this trace yet. 

 

Is it possible to add trace code to a plugin to support per-node trace?

 

vpp# trace add upf6 5

trace add: node 'upf6' doesn't support per-node tracing. There may be another 
way to initiate trace on this node.

vpp#

 

Thanks,

 

Hemant






-- 

Best regards
Stanislav Zaikin

Attachment: smime.p7s
Description: S/MIME cryptographic signature

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#18834): https://lists.fd.io/g/vpp-dev/message/18834
Mute This Topic: https://lists.fd.io/mt/81030282/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